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 X-Spam-Level: X-Spam-Status: No, score=-5.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47777C43603 for ; Mon, 16 Dec 2019 12:38:30 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D70B9206D3 for ; Mon, 16 Dec 2019 12:38:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="XRZMxrgL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D70B9206D3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 447298E0007; Mon, 16 Dec 2019 07:38:29 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3D0B38E0003; Mon, 16 Dec 2019 07:38:29 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 271128E0007; Mon, 16 Dec 2019 07:38:29 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0116.hostedemail.com [216.40.44.116]) by kanga.kvack.org (Postfix) with ESMTP id 0D5578E0003 for ; Mon, 16 Dec 2019 07:38:29 -0500 (EST) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id B08AC824999B for ; Mon, 16 Dec 2019 12:38:28 +0000 (UTC) X-FDA: 76270957896.30.board51_842f32d7f3b37 X-HE-Tag: board51_842f32d7f3b37 X-Filterd-Recvd-Size: 4049 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by imf19.hostedemail.com (Postfix) with ESMTP for ; Mon, 16 Dec 2019 12:38:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=c88RMelWbUgUiJroWa0Q0HLfhfNHGH7r6t3skBuZYFU=; b=XRZMxrgL4mXQitjiaHR/vTJzl OiXWCYBgvU4/QgW7TOQLLk3vijwtgoULXNuuag+CGBE4W//7PBd4XrtGPhLNpwfwUbsYAVnFpDIos JBgvxayPVZKPeIwz/yeAl21ZbYmkrTuMyrqxloImgsH3iPP2/GYw8gxOYj+/6wyF7CF0ysOL4G+nO 4huaSdYpFYtqTdO8fNHTZdS8gqUWr7PHTj34GM5vIZIWb0g4sYsbL8ajNGiTNBRUhCDO3zuMReRvL AzmyMhV5V0/tSyXjv664vXjdN14UJgBsqce8S1p+YoCwFeO674JWwmT16Zd+loev4G23/hPGZYTbY e0tgk3YbA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1igpdM-00064m-Dp; Mon, 16 Dec 2019 12:37:56 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 06AD13007F2; Mon, 16 Dec 2019 13:36:30 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id DBF192B1A6BF5; Mon, 16 Dec 2019 13:37:52 +0100 (CET) Date: Mon, 16 Dec 2019 13:37:52 +0100 From: Peter Zijlstra To: "Aneesh Kumar K.V" Cc: Will Deacon , Andrew Morton , Nick Piggin , linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Yoshinori Sato , Rich Felker , "David S. Miller" , Helge Deller , Geert Uytterhoeven , Paul Burton , Tony Luck , Richard Henderson , Nick Hu , Paul Walmsley Subject: Re: [PATCH 05/17] asm-generic/tlb: Rename HAVE_RCU_TABLE_NO_INVALIDATE Message-ID: <20191216123752.GM2844@hirez.programming.kicks-ass.net> References: <20191211120713.360281197@infradead.org> <20191211122955.940455408@infradead.org> <87woawzc1t.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87woawzc1t.fsf@linux.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Dec 16, 2019 at 06:01:58PM +0530, Aneesh Kumar K.V wrote: > Peter Zijlstra writes: > > > Towards a more consistent naming scheme. > > > > Signed-off-by: Peter Zijlstra (Intel) > > --- > > arch/Kconfig | 3 ++- > > arch/powerpc/Kconfig | 2 +- > > arch/sparc/Kconfig | 2 +- > > include/asm-generic/tlb.h | 2 +- > > mm/mmu_gather.c | 2 +- > > 5 files changed, 6 insertions(+), 5 deletions(-) > > > > --- a/arch/Kconfig > > +++ b/arch/Kconfig > > @@ -396,8 +396,9 @@ config HAVE_ARCH_JUMP_LABEL_RELATIVE > > config MMU_GATHER_RCU_TABLE_FREE > > bool > > > > -config HAVE_RCU_TABLE_NO_INVALIDATE > > +config MMU_GATHER_NO_TABLE_INVALIDATE > > bool > > + depends on MMU_GATHER_RCU_TABLE_FREE > > > Can we drop this Kernel config option instead use > MMU_GATHER_RCU_TABLE_FREE? IMHO reducing the kernel config related to > mmu_gather can reduce the complexity. I'm confused, are you saing you're happy to have PowerPC eat the extra TLB invalidates? I thought you cared about PPC performance :-)