[PATCH] arm64: Kconfig: Increase NR_CPUS default to 512

vanshikonda at os.amperecomputing.com vanshikonda at os.amperecomputing.com
Sun Jan 10 00:36:15 EST 2021


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

Increase the default value of NR_CPUS to 512 from 256. This will
enable the defconfig kernel to support platforms that have upto
512 cores.

Signed-off-by: Vanshidhar Konda <vanshikonda at os.amperecomputing.com>
---
 arch/arm64/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 05e17351e4f3..23fbbf413f58 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -983,7 +983,7 @@ config SCHED_SMT
 config NR_CPUS
 	int "Maximum number of CPUs (2-4096)"
 	range 2 4096
-	default "256"
+	default "512"
 
 config HOTPLUG_CPU
 	bool "Support for hot-pluggable CPUs"
-- 
2.29.2




More information about the linux-arm-kernel mailing list