Re: [PATCH] RISC-V: Increase range and default value of NR_CPUS

From: Ben Dooks
Date: Fri Mar 18 2022 - 10:48:22 EST


On 17/03/2022 03:55, Anup Patel wrote:
Currently, the range and default value of NR_CPUS is too restrictive
for high-end RISC-V systems with large number of HARTs. The latest
QEMU virt machine supports upto 512 CPUs so the current NR_CPUS is
restrictive for QEMU as well. Other major architectures (such as
ARM64, x86_64, MIPS, etc) have a much higher range and default
value of NR_CPUS.

What's the memory overhead for increasing this?

--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html