xen/Kconfig: Correct the NR_CPUS description

The description "physical CPUs" is especially wrong, as it implies the number
of sockets, which tops out at 8 on all but the very biggest servers.

NR_CPUS is the number of logical entities the scheduler can use.

Reported-by: hanetzer@startmail.com
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Andrew Cooper committed 2020-12-21 14:11:25 +00:00
1 parent 357db96a66
commit 6131dab5f2
1 file changed
+9 -3
+9 -3
View File
@@ -1,11 +1,17 @@
config NR_CPUS
int "Maximum number of physical CPUs"
int "Maximum number of CPUs"
range 1 4095
default "256" if X86
default "8" if ARM && RCAR3
default "4" if ARM && QEMU
default "4" if ARM && MPSOC
default "128" if ARM
---help---
Specifies the maximum number of physical CPUs which Xen will support.
help
Controls the build-time size of various arrays and bitmaps
associated with multiple-cpu management. It is the upper bound of
the number of logical entities the scheduler can run code on.
For CPU cores which support Simultaneous Multi-Threading or similar
technologies, this the number of logical threads which Xen will
support.
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.