aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdgar Su <sjs333@outlook.com>2021-07-12 21:22:48 +0800
committerPaul Spooren <mail@aparcar.org>2021-08-11 10:12:26 -1000
commit750b966866b098a2e9a8693d313111ed1e892ab6 (patch)
treee3ed693058e91c9ee8d7ae8ed7327bd6c8fb419f
parent94efa1c61247830b2e1190933e665eb3adcc66d5 (diff)
downloadupstream-750b966866b098a2e9a8693d313111ed1e892ab6.tar.gz
upstream-750b966866b098a2e9a8693d313111ed1e892ab6.tar.bz2
upstream-750b966866b098a2e9a8693d313111ed1e892ab6.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> (cherry picked from commit df554e6fcab171ec499d8fb2ed10a0da328323f3)
-rw-r--r--target/linux/x86/64/config-5.44
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/x86/64/config-5.4 b/target/linux/x86/64/config-5.4
index 348165a209..434cde5d86 100644
--- a/target/linux/x86/64/config-5.4
+++ b/target/linux/x86/64/config-5.4
@@ -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=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