mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 03:43:29 +00:00
x86: kernel: set NR_CPUS to 512 (#7428)
NR_CPUS limits the number of CPUs supported to 8. This makes total sense on hardware-restircted platforms, but not on x86_64, where CPUs with more than 8 cores can be easily acquired and with less physical limitaions. see also: https://forum.openwrt.org/t/x86-64-8-cpu-limitation-on-vanilla-release/100946 Signed-off-by: Edgar Su <sjs333@outlook.com> Co-authored-by: Edgar Su <sjs333@outlook.com>
This commit is contained in:
parent
7bfab38104
commit
f15b1ec524
@ -300,8 +300,8 @@ CONFIG_NEED_DMA_MAP_STATE=y
|
||||
CONFIG_NET_FAILOVER=y
|
||||
CONFIG_NET_FLOW_LIMIT=y
|
||||
# CONFIG_NITRO_ENCLAVES is not set
|
||||
CONFIG_NR_CPUS=128
|
||||
CONFIG_NR_CPUS_DEFAULT=128
|
||||
CONFIG_NR_CPUS=512
|
||||
CONFIG_NR_CPUS_DEFAULT=512
|
||||
CONFIG_NR_CPUS_RANGE_BEGIN=2
|
||||
CONFIG_NR_CPUS_RANGE_END=512
|
||||
CONFIG_NVME_CORE=y
|
||||
|
@ -310,8 +310,8 @@ CONFIG_ND_CLAIM=y
|
||||
CONFIG_NEED_DMA_MAP_STATE=y
|
||||
CONFIG_NET_FAILOVER=y
|
||||
CONFIG_NET_FLOW_LIMIT=y
|
||||
CONFIG_NR_CPUS=128
|
||||
CONFIG_NR_CPUS_DEFAULT=64
|
||||
CONFIG_NR_CPUS=512
|
||||
CONFIG_NR_CPUS_DEFAULT=512
|
||||
CONFIG_NR_CPUS_RANGE_BEGIN=2
|
||||
CONFIG_NR_CPUS_RANGE_END=512
|
||||
# CONFIG_NUMA is not set
|
||||
|
Loading…
Reference in New Issue
Block a user