Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1150847pxx; Fri, 30 Oct 2020 03:29:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyU69dYRxnMBzT8oskyr9Bs3kE9Jr4GAUIuR0Te98ey3aiF4RUH7Vdezq8OR0/YN07oLfa/ X-Received: by 2002:a17:906:a4b:: with SMTP id x11mr1785223ejf.11.1604053750281; Fri, 30 Oct 2020 03:29:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604053750; cv=none; d=google.com; s=arc-20160816; b=S1JnJ6PDewZexdVA5d9GwgshhymsKuLk4BKlea5b+TdrIJ9jGy7zdmMqlzB1Qdri3m /BibvImZ/l+U7EGboCSUaw/SKVV9y8B/rkZ8qpiulp0T+xdbD5PRKfIEx51wttSNAioY xvKNxEQB9uwtf+JMy8XVGGH/58SxsQdriyBhH7Lk0sVPb6MAH1JO83yTQhE6mfAk22eX bp4PThD8LmEsK28VDgUEHNyZmYtesU8fr/0PyR50hD3wagjvpzuvW6CP0xLaejnKYXxg TYX3AEsR61R+Fnd0HeB52GHpix27LZ1eADdOL6YFJa5JsUfgc70i6zTqRE0AB4BGYPkV GTPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=8uFaKHojRZWLMNR/rmmXB7Gks92ybWbW4B1HExMgvfI=; b=VvkCU1kuQYXQ/XIR0JvwezEWp2KAWKqoV7H3cpl6FLqR8XL3khSyRn9FebYLrKzqIA 7z+qT1kztakd7bKu7fcjvBdtOKqPOAXY5KQFY2Z7D5kUt5mEN/aiEjRU8jr5HN4FLcSX 2pALoGFH6gW+W7pcKLmEr1MIVYZFSaoVxqay9di9m5oRr1ZJo2RsQGmFCdt1TKdf1Vm4 sYuyb1qobl/7O/bPsIWFA0bZkd93fPq+QcLq6NyNIBz4BzLRGZeMISebQFXmnb3QwE3G dwvz+ZPbWMFG/IkuUM5OFo/vF4+wyFxNb1xtvC1+9/hrTPqDhYTR9pSG5wQkw7qHGD4a +5gg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p14si3783322eju.470.2020.10.30.03.28.47; Fri, 30 Oct 2020 03:29:10 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726323AbgJ3KZN (ORCPT + 99 others); Fri, 30 Oct 2020 06:25:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:56470 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726316AbgJ3KZN (ORCPT ); Fri, 30 Oct 2020 06:25:13 -0400 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 Cc: linux-arm-kernel@lists.infradead.org, patches@amperecomputing.com, linux-kernel@vger.kernel.org, Anshuman.Khandual@arm.com, Valentin.Schneider@arm.com, Will Deacon 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201029203752.1114948-1-vanshikonda@os.amperecomputing.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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