|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] kconfig: adjust NR_CPUS defaults
commit 9f493ad08e08f06dce0d17357f0ebb26f6b1652b
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Mon Jan 26 11:50:10 2026 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Jan 26 11:50:10 2026 +0100
kconfig: adjust NR_CPUS defaults
Discussion of a RISC-V change revealed that for PPC and RISC-V we don't
really set any default, but rather rely on internals of kconfig picking
the lowest of the permitted values in such a case. Let's make this
explicit, requiring architectures that mean to permit SMP by default to
explicitly record some sensible value here.
Leverage the adjustment to the "1" case to simplify all subsequent ones.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
---
xen/arch/Kconfig | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/xen/arch/Kconfig b/xen/arch/Kconfig
index 9f4835e37f..f9230bfaf8 100644
--- a/xen/arch/Kconfig
+++ b/xen/arch/Kconfig
@@ -9,11 +9,11 @@ config NR_CPUS
range 1 1 if ARM && MPU
range 1 16383
default "256" if X86
- default "1" if ARM && MPU
- default "8" if ARM && RCAR3
- default "4" if ARM && QEMU
- default "4" if ARM && MPSOC
- default "128" if ARM
+ default "1" if !ARM || MPU
+ default "8" if RCAR3
+ default "4" if QEMU
+ default "4" if MPSOC
+ default "128"
help
Controls the build-time size of various arrays and bitmaps
associated with multiple-cpu management. It is the upper bound of
--
generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |