]> git.ipfire.org Git - thirdparty/openwrt.git/commit
x86: kernel: set NR_CPUS to 512
authorEdgar Su <sjs333@outlook.com>
Mon, 12 Jul 2021 13:22:48 +0000 (21:22 +0800)
committermaurerr <mariusd84@gmail.com>
Wed, 1 Sep 2021 08:08:19 +0000 (08:08 +0000)
commit24b4ab9bf644add265bfc0cb303aedc50bb5d57f
tree69a395f18821e64e99499f57dbda500228b24935
parentd8ebbee650b6e56e79e82fad3fa3c57df6cad31e
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>
Signed-off-by: maurerr <mariusd84@gmail.com>
target/linux/x86/64/config-5.10
target/linux/x86/64/config-5.4