[SRU][G/linux-oracle][PATCH 08/18] arm64: NUMA: Kconfig: Increase NODES_SHIFT to 4

Khalid Elmously khalid.elmously at canonical.com
Fri May 21 07:00:32 UTC 2021


From: Vanshidhar Konda <vanshikonda at os.amperecomputing.com>

BugLink: https://bugs.launchpad.net/bugs/1925421

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.

Signed-off-by: Vanshidhar Konda <vanshikonda at os.amperecomputing.com>
Acked-by: Catalin Marinas <catalin.marinas at arm.com>
Link: https://lore.kernel.org/r/20201020173409.1266576-1-vanshikonda@os.amperecomputing.com/
Link: https://lore.kernel.org/r/20201030173050.1182876-1-vanshikonda@os.amperecomputing.com
Signed-off-by: Will Deacon <will at kernel.org>
(cherry picked from commit 2a13c13b39a8aea4c69a31549e4cb0094f30103b)
Signed-off-by: Khalid Elmously <khalid.elmously at canonical.com>
---
 arch/arm64/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 587b2a429892..19631f22c547 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -972,7 +972,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
-- 
2.17.1




More information about the kernel-team mailing list