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=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, 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 6669FC4363A for ; Fri, 30 Oct 2020 10:25:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D009E20825 for ; Fri, 30 Oct 2020 10:25:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lPQctYHu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D009E20825 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0Y47TLh4KBOtd3OkpTtA2HiEuEjUIpyJcOrp76AZ028=; b=lPQctYHuMP5QSUb8KtHWeQjo5 VV7VWVnYKmbxRdqrYPVts9oUh3Ax+00V7hQN0mieAYvQKtgfrmgIbtaz17SaBtUms+2j5bpzs53ii e/PYpwDR+66ynUSbNzyjpAgVxUCj1jh5/fTVN+j2WnU33JusQn1BDN8Ctj8zRFGXCmYXLAsGqKSKE iVn6Uis56lYF1yNPnn3T+N8Uhahihb5ecTSGHe1yQzK5vqKNkY3XWAUMCZqZiNiMkU/+bwfJ4ZuV9 9RUDwNvliPCZZHgUaR19LbSMAhGsOqVsBK/oImnavygGVDPf8wuvEA9KUGMJml20XnaVtlwKHdnwg fL1S9jKow==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYRat-0005P5-QM; Fri, 30 Oct 2020 10:25:15 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYRar-0005OB-B1 for linux-arm-kernel@lists.infradead.org; Fri, 30 Oct 2020 10:25:14 +0000 Received: from gaia (unknown [95.145.162.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DA8B420825; Fri, 30 Oct 2020 10:25:10 +0000 (UTC) Date: Fri, 30 Oct 2020 10:25:08 +0000 From: Catalin Marinas To: Vanshidhar Konda Subject: Re: [PATCH v2] arm64: NUMA: Kconfig: Increase NODES_SHIFT to 4 Message-ID: <20201030102507.GB23196@gaia> References: <20201029203752.1114948-1-vanshikonda@os.amperecomputing.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201029203752.1114948-1-vanshikonda@os.amperecomputing.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201030_062513_494725_E929009E X-CRM114-Status: GOOD ( 20.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anshuman.Khandual@arm.com, linux-kernel@vger.kernel.org, patches@amperecomputing.com, Will Deacon , Valentin.Schneider@arm.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 29, 2020 at 01:37:52PM -0700, Vanshidhar Konda wrote: > The current arm64 default config limits max NUMA nodes available on > system to 4 (NODES_SHIFT = 2). Today's arm64 systems can reach or > exceed 16 NUMA nodes. To accomodate current hardware and to fit > NODES_SHIFT within page flags on arm64, increase NODES_SHIFT to 4. > > Discussion on v1 of the patch: > https://lkml.org/lkml/2020/10/20/767 Better use a stable link to refer to the past discussion: Link: https://lore.kernel.org/r/20201020173409.1266576-1-vanshikonda@os.amperecomputing.com > Signed-off-by: Vanshidhar Konda > --- > arch/arm64/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index f858c352f72a..cffcc677011f 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -982,7 +982,7 @@ config NUMA > config NODES_SHIFT > int "Maximum NUMA Nodes (as a power of 2)" > range 1 10 > - default "2" > + default "4" > depends on NEED_MULTIPLE_NODES > help > Specify the maximum number of NUMA Nodes available on the target Acked-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel