Skip to content

Commit

Permalink
feat: increase number of CPUs supported by the kernel to 512
Browse files Browse the repository at this point in the history
Nowadays systems with > 64 cores are common, so limit of 64 for amd64
doesn't make sense anymore.

Bump arm64 to keep arches in sync.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
smira authored and talos-bot committed Aug 6, 2021
1 parent cbfabac commit 12856ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kernel/kernel/config-amd64
Expand Up @@ -372,7 +372,7 @@ CONFIG_DMI=y
CONFIG_NR_CPUS_RANGE_BEGIN=2
CONFIG_NR_CPUS_RANGE_END=512
CONFIG_NR_CPUS_DEFAULT=64
CONFIG_NR_CPUS=64
CONFIG_NR_CPUS=512
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
CONFIG_SCHED_MC_PRIO=y
Expand Down
2 changes: 1 addition & 1 deletion kernel/kernel/config-arm64
Expand Up @@ -377,7 +377,7 @@ CONFIG_ARM64_PA_BITS=48
CONFIG_CPU_LITTLE_ENDIAN=y
CONFIG_SCHED_MC=y
CONFIG_SCHED_SMT=y
CONFIG_NR_CPUS=256
CONFIG_NR_CPUS=512
CONFIG_HOTPLUG_CPU=y
CONFIG_NUMA=y
CONFIG_NODES_SHIFT=6
Expand Down

0 comments on commit 12856ce

Please sign in to comment.