From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9320C77B61 for ; Tue, 25 Apr 2023 05:19:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233139AbjDYFT1 (ORCPT ); Tue, 25 Apr 2023 01:19:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbjDYFTZ (ORCPT ); Tue, 25 Apr 2023 01:19:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA06E1BC9 for ; Mon, 24 Apr 2023 22:19:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6593C62B61 for ; Tue, 25 Apr 2023 05:19:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34F5FC433D2; Tue, 25 Apr 2023 05:19:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1682399963; bh=JzbtWfpHA7agQRdePHrbhbGiywJxe0fEQ297CfKr1H8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pEoRb03u6A8QPS9o7aSkRe6brpj1QYhGiX3LM7/Us1hQvAQwwvfGUFqymsX1DQItj qHBxYPC06d+ZZZnWj/adu0ALPFFs2Oehu4d/xPNzCsXxN0mMv6bCqiaGPA2D5hSlNS Wj4r3VUt8QO2evwI7R6L+2HPkRaVnovM/v4pGZNM= Date: Tue, 25 Apr 2023 07:19:20 +0200 From: Greg Kroah-Hartman To: Carlos Llamas Cc: Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Todd Kjos , Martijn Coenen , Joel Fernandes , Christian Brauner , Suren Baghdasaryan , linux-kernel@vger.kernel.org, kernel-team@android.com, Liam Howlett Subject: Re: [RFC PATCH 1/3] Revert "binder_alloc: add missing mmap_lock calls when using the VMA" Message-ID: References: <20230424205548.1935192-1-cmllamas@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230424205548.1935192-1-cmllamas@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 24, 2023 at 08:55:46PM +0000, Carlos Llamas wrote: > This reverts commit 44e602b4e52f70f04620bbbf4fe46ecb40170bde. > > This caused a performance regression particularly when pages are getting > reclaimed. We don't need to acquire the mmap_lock to determine when the > binder buffer has been fully initialized. A subsequent patch will bring > back the lockless approach for this. > > [cmllamas: resolved trivial conflicts with renaming of alloc->mm] > > Cc: Liam Howlett > Cc: Suren Baghdasaryan > Signed-off-by: Carlos Llamas > --- > drivers/android/binder_alloc.c | 31 ++++++++++--------------------- > 1 file changed, 10 insertions(+), 21 deletions(-) Why is this series "RFC"? What needs to be done to be able to submit it as a real patch series? Also, as the commits you are reverting are in older kernels, please properly cc: stable in the signed-off-by area, and add a fixes: tag for the commit you are reverting when you resend these as a real series. thanks, greg k-h