aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorEdgar Su <sjs333@outlook.com>2021-07-12 21:22:48 +0800
committerPaul Spooren <mail@aparcar.org>2021-07-18 03:04:53 -1000
commitdf554e6fcab171ec499d8fb2ed10a0da328323f3 (patch)
tree69a395f18821e64e99499f57dbda500228b24935 /target/linux
parentc1a3eff3acd854a0eca1b26a48f253a8996abe16 (diff)
downloadupstream-df554e6fcab171ec499d8fb2ed10a0da328323f3.tar.gz
upstream-df554e6fcab171ec499d8fb2ed10a0da328323f3.tar.bz2
upstream-df554e6fcab171ec499d8fb2ed10a0da328323f3.zip
x86: kernel: set NR_CPUS to 512
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>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/x86/64/config-5.104
-rw-r--r--target/linux/x86/64/config-5.44
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/x86/64/config-5.10 b/target/linux/x86/64/config-5.10
index 2db2f4998b..6804d83519 100644
--- a/target/linux/x86/64/config-5.10
+++ b/target/linux/x86/64/config-5.10
@@ -301,8 +301,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=8
-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_NVME_CORE=y
diff --git a/target/linux/x86/64/config-5.4 b/target/linux/x86/64/config-5.4
index b97b9f64c1..50521a5148 100644
--- a/target/linux/x86/64/config-5.4
+++ b/target/linux/x86/64/config-5.4
@@ -312,8 +312,8 @@ CONFIG_ND_CLAIM=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NET_FAILOVER=y
CONFIG_NET_FLOW_LIMIT=y
-CONFIG_NR_CPUS=8
-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