aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorMike Travis <travis@sgi.com>2008-05-16 13:44:39 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-22 18:12:28 -0400
commitc3ed64295f0fed9131b42122234b1ce4a4a266cf (patch)
tree57030f9141b563cbe77a49fcb20ff785af9c0fed /arch/x86/Kconfig
parentf8096f92b87d81c55ed63964d27baa9ce5ffe508 (diff)
x86: change maximum NR_CPUS to 4096 and MAX_NUMNODES to 512
* Change the range of NR_CPUS from 2-255 to 2-4096 and change the range of MAX_NUMNODES (NODES_SHIFT) from 1-32768 to 1-512. * Alter comment about how much each increment of NR_CPUS consumes. (This was found by configuring for 256 cpus and then 512 cpus and dividing the difference by 256.) Signed-off-by: Mike Travis <travis@sgi.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Dave Jones <davej@codemonkey.org.uk> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index fe361ae7ef2f..bbafeac89116 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -565,18 +565,18 @@ config IOMMU_HELPER
565 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB) 565 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB)
566 566
567config NR_CPUS 567config NR_CPUS
568 int "Maximum number of CPUs (2-255)" 568 int "Maximum number of CPUs (2-4096)"
569 range 2 255 569 range 2 4096
570 depends on SMP 570 depends on SMP
571 default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000 571 default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000
572 default "8" 572 default "8"
573 help 573 help
574 This allows you to specify the maximum number of CPUs which this 574 This allows you to specify the maximum number of CPUs which this
575 kernel will support. The maximum supported value is 255 and the 575 kernel will support. The maximum supported value is 4096 and the
576 minimum value which makes sense is 2. 576 minimum value which makes sense is 2.
577 577
578 This is purely to save memory - each supported CPU adds 578 This is purely to save memory - each supported CPU adds
579 approximately eight kilobytes to the kernel image. 579 approximately one kilobyte to the kernel image.
580 580
581config SCHED_SMT 581config SCHED_SMT
582 bool "SMT (Hyperthreading) scheduler support" 582 bool "SMT (Hyperthreading) scheduler support"
@@ -968,8 +968,8 @@ config NUMA_EMU
968 number of nodes. This is only useful for debugging. 968 number of nodes. This is only useful for debugging.
969 969
970config NODES_SHIFT 970config NODES_SHIFT
971 int "Max num nodes shift(1-15)" 971 int "Max num nodes shift(1-9)"
972 range 1 15 if X86_64 972 range 1 9 if X86_64
973 default "6" if X86_64 973 default "6" if X86_64
974 default "4" if X86_NUMAQ 974 default "4" if X86_NUMAQ
975 default "3" 975 default "3"