Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2401453pxj; Mon, 10 May 2021 01:56:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr2KuWSP8Iv/CO9kDS6QbfWFo5WLlfR9nLtW4st/svoJzm3/xfTuLzUkYAz9hHhZCHKbgh X-Received: by 2002:a17:906:11d4:: with SMTP id o20mr24589326eja.247.1620636984580; Mon, 10 May 2021 01:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620636984; cv=none; d=google.com; s=arc-20160816; b=BekLCKtm0pAtLKsCE5kNwqUPhzppngRQurIOBoeKh0cCHL6RK1YBFXoBX+b4/R2CEQ KysPSLQmUuDInwkABUEKL380p6L+p+LuIlT9lSpit11E1f60cgAnYAIVC3uTS3M2GW5Y 8zaIw+JHuAnrXWkyaV6fSa6jDMLIQSJv9nzyjvxgDAGH1iktAhrdL1WXEZySaBBcjd7+ 30omZmjr67A4EGqbmxB1D1EWTgm2jRT3lOCV76poJ8PXpvhM5903aUalHZl2XnzpVaSb Ald1o+ABfmDz636z71YnM8o28MT1Q4uPMskn5jucBRwj1K5xMVA4fY1MCcBPhymBG4xC sWoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jac63i9sp+2HDTsLLc4LJUWG/al5HXdYHUq8upjX9UY=; b=LyXd0D9qPTN0WRtMNkWRjNgwP6gqXiHG+yUCYpDwPx584pwmYc3fH59cpKSdMHrvTR nxCzW/1MC8PMf/WzCqlSVqmcMNaVR6XzIcnCzQYvguZiF01yYHeap3sKamBP5D+Gdhvx bHn5RaMSOs95SrwnkOqQskHnq9jLhnHHw3+cjpc2tY0+qmG5yP2coE4bX2YGDvjcdk1d uRuPjzWk4er0/uHvd6yvAxOpehdTuNWT0c4f156pg6XmbXBgBbH7L8ZYavzEg90+Yfv1 lQsXAwBPb4ZOuhqzhnSxjNvsoA8rB2W45BFbpLILj9w9NNieXo7z5PkKsxKYTpXjbIKS Rexg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=PoOh1YAs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r17si13270909edw.273.2021.05.10.01.56.00; Mon, 10 May 2021 01:56:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=PoOh1YAs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230259AbhEJIzM (ORCPT + 99 others); Mon, 10 May 2021 04:55:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230237AbhEJIzF (ORCPT ); Mon, 10 May 2021 04:55:05 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93388C06175F; Mon, 10 May 2021 01:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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; bh=jac63i9sp+2HDTsLLc4LJUWG/al5HXdYHUq8upjX9UY=; b=PoOh1YAsQsQJsKGPG9SdJESPGd Wr8U0VUVXdUCZ/WD9EYow6JmIsJaF9RbGcytrxjA4jmLGIjsHkMCtxGnuCg/b1zOBymia7U6m/sqe xs93Dn5pLKFrgNmbo4PQghn7DljG05hoYKVsCjdyGRaX1Tsebnly6IMLB1rtPVqw5MvVC9PWSwgBf ytJAi/RFn08GbnPEL2p8IiMSZuEpEbW7a1jU5yT+e6w37P62pO69CO2+9QxrmpIwlALbIFMkejaQw mKY3dD7XwbLa449uJsuHiPaq3i8m9jbbdC14KypJ7FgBMiQEXLO4UF05eC7SK3adsZnMSAl3ltTlK wqbBQ25A==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lg1f8-005s3j-S6; Mon, 10 May 2021 08:53:16 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 7FD21980331; Mon, 10 May 2021 10:53:13 +0200 (CEST) Date: Mon, 10 May 2021 10:53:13 +0200 From: Peter Zijlstra To: Anshuman Khandual Cc: linux-mm@kvack.org, akpm@linux-foundation.org, Heiko Carstens , Vasily Gorbik , Thomas Gleixner , Ingo Molnar , x86@kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/thp: Make ARCH_ENABLE_SPLIT_PMD_PTLOCK dependent on PGTABLE_LEVELS > 2 Message-ID: <20210510085313.GB5618@worktop.programming.kicks-ass.net> References: <1620621345-29176-1-git-send-email-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1620621345-29176-1-git-send-email-anshuman.khandual@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 10, 2021 at 10:05:45AM +0530, Anshuman Khandual wrote: > - select ARCH_ENABLE_SPLIT_PMD_PTLOCK if X86_64 || X86_PAE > + select ARCH_ENABLE_SPLIT_PMD_PTLOCK if (PGTABLE_LEVELS > 2) && (X86_64 || X86_PAE) It's still very early on a Monday, but IIRC this new condition is identical to the pre-existing one.