hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8UT5S CVE: NA
--------------------------------
Allow to set NODES_SHIFT to [8, 10] on MAXSMP.
Signed-off-by: Liu Shixin liushixin2@huanwei.com --- arch/x86/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 9742c1a3c608..3b343dc50b77 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1598,7 +1598,8 @@ config NUMA_EMU number of nodes. This is only useful for debugging.
config NODES_SHIFT - int "Maximum NUMA Nodes (as a power of 2)" if !MAXSMP + int "Maximum NUMA Nodes (as a power of 2)" + range 8 10 if MAXSMP range 1 10 default "10" if MAXSMP default "6" if X86_64