x86: kernel: set NR_CPUS to 512
authorEdgar Su <sjs333@outlook.com>
Mon, 12 Jul 2021 13:22:48 +0000 (21:22 +0800)
committerPaul Spooren <mail@aparcar.org>
Wed, 11 Aug 2021 20:12:26 +0000 (10:12 -1000)
commit750b966866b098a2e9a8693d313111ed1e892ab6
treee3ed693058e91c9ee8d7ae8ed7327bd6c8fb419f
parent94efa1c61247830b2e1190933e665eb3adcc66d5
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)
target/linux/x86/64/config-5.4