diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-09-24 04:31:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-24 04:31:34 -0400 |
commit | e6aa0f07cb5e81a7cbeaf3be6e2101234c2f0d30 (patch) | |
tree | 77926550ac0c31b1423bcf193a4ed0ecb7fda2c1 /arch/x86/Kconfig | |
parent | d4738792fb86600b6cb7220459d9c47e819b3580 (diff) | |
parent | 72d31053f62c4bc464c2783974926969614a8649 (diff) |
Merge commit 'v2.6.27-rc7' into x86/microcode
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 37 |
1 files changed, 11 insertions, 26 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 2e6080951350..995165509355 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -22,7 +22,6 @@ config X86 | |||
22 | select HAVE_IDE | 22 | select HAVE_IDE |
23 | select HAVE_OPROFILE | 23 | select HAVE_OPROFILE |
24 | select HAVE_IOREMAP_PROT | 24 | select HAVE_IOREMAP_PROT |
25 | select HAVE_GET_USER_PAGES_FAST | ||
26 | select HAVE_KPROBES | 25 | select HAVE_KPROBES |
27 | select ARCH_WANT_OPTIONAL_GPIOLIB | 26 | select ARCH_WANT_OPTIONAL_GPIOLIB |
28 | select HAVE_KRETPROBES | 27 | select HAVE_KRETPROBES |
@@ -578,35 +577,29 @@ config SWIOTLB | |||
578 | 577 | ||
579 | config IOMMU_HELPER | 578 | config IOMMU_HELPER |
580 | def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) | 579 | def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) |
580 | |||
581 | config MAXSMP | 581 | config MAXSMP |
582 | bool "Configure Maximum number of SMP Processors and NUMA Nodes" | 582 | bool "Configure Maximum number of SMP Processors and NUMA Nodes" |
583 | depends on X86_64 && SMP | 583 | depends on X86_64 && SMP && BROKEN |
584 | default n | 584 | default n |
585 | help | 585 | help |
586 | Configure maximum number of CPUS and NUMA Nodes for this architecture. | 586 | Configure maximum number of CPUS and NUMA Nodes for this architecture. |
587 | If unsure, say N. | 587 | If unsure, say N. |
588 | 588 | ||
589 | if MAXSMP | ||
590 | config NR_CPUS | ||
591 | int | ||
592 | default "4096" | ||
593 | endif | ||
594 | |||
595 | if !MAXSMP | ||
596 | config NR_CPUS | 589 | config NR_CPUS |
597 | int "Maximum number of CPUs (2-4096)" | 590 | int "Maximum number of CPUs (2-512)" if !MAXSMP |
598 | range 2 4096 | 591 | range 2 512 |
599 | depends on SMP | 592 | depends on SMP |
593 | default "4096" if MAXSMP | ||
600 | default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000 | 594 | default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000 |
601 | default "8" | 595 | default "8" |
602 | help | 596 | help |
603 | This allows you to specify the maximum number of CPUs which this | 597 | This allows you to specify the maximum number of CPUs which this |
604 | kernel will support. The maximum supported value is 4096 and the | 598 | kernel will support. The maximum supported value is 512 and the |
605 | minimum value which makes sense is 2. | 599 | minimum value which makes sense is 2. |
606 | 600 | ||
607 | This is purely to save memory - each supported CPU adds | 601 | This is purely to save memory - each supported CPU adds |
608 | approximately eight kilobytes to the kernel image. | 602 | approximately eight kilobytes to the kernel image. |
609 | endif | ||
610 | 603 | ||
611 | config SCHED_SMT | 604 | config SCHED_SMT |
612 | bool "SMT (Hyperthreading) scheduler support" | 605 | bool "SMT (Hyperthreading) scheduler support" |
@@ -974,9 +967,9 @@ config NUMA | |||
974 | local memory controller of the CPU and add some more | 967 | local memory controller of the CPU and add some more |
975 | NUMA awareness to the kernel. | 968 | NUMA awareness to the kernel. |
976 | 969 | ||
977 | For i386 this is currently highly experimental and should be only | 970 | For 32-bit this is currently highly experimental and should be only |
978 | used for kernel development. It might also cause boot failures. | 971 | used for kernel development. It might also cause boot failures. |
979 | For x86_64 this is recommended on all multiprocessor Opteron systems. | 972 | For 64-bit this is recommended on all multiprocessor Opteron systems. |
980 | If the system is EM64T, you should say N unless your system is | 973 | If the system is EM64T, you should say N unless your system is |
981 | EM64T NUMA. | 974 | EM64T NUMA. |
982 | 975 | ||
@@ -1019,17 +1012,10 @@ config NUMA_EMU | |||
1019 | into virtual nodes when booted with "numa=fake=N", where N is the | 1012 | into virtual nodes when booted with "numa=fake=N", where N is the |
1020 | number of nodes. This is only useful for debugging. | 1013 | number of nodes. This is only useful for debugging. |
1021 | 1014 | ||
1022 | if MAXSMP | ||
1023 | |||
1024 | config NODES_SHIFT | 1015 | config NODES_SHIFT |
1025 | int | 1016 | int "Maximum NUMA Nodes (as a power of 2)" if !MAXSMP |
1026 | default "9" | ||
1027 | endif | ||
1028 | |||
1029 | if !MAXSMP | ||
1030 | config NODES_SHIFT | ||
1031 | int "Maximum NUMA Nodes (as a power of 2)" | ||
1032 | range 1 9 if X86_64 | 1017 | range 1 9 if X86_64 |
1018 | default "9" if MAXSMP | ||
1033 | default "6" if X86_64 | 1019 | default "6" if X86_64 |
1034 | default "4" if X86_NUMAQ | 1020 | default "4" if X86_NUMAQ |
1035 | default "3" | 1021 | default "3" |
@@ -1037,7 +1023,6 @@ config NODES_SHIFT | |||
1037 | help | 1023 | help |
1038 | Specify the maximum number of NUMA Nodes available on the target | 1024 | Specify the maximum number of NUMA Nodes available on the target |
1039 | system. Increases memory reserved to accomodate various tables. | 1025 | system. Increases memory reserved to accomodate various tables. |
1040 | endif | ||
1041 | 1026 | ||
1042 | config HAVE_ARCH_BOOTMEM_NODE | 1027 | config HAVE_ARCH_BOOTMEM_NODE |
1043 | def_bool y | 1028 | def_bool y |
@@ -1286,7 +1271,7 @@ config KEXEC | |||
1286 | strongly in flux, so no good recommendation can be made. | 1271 | strongly in flux, so no good recommendation can be made. |
1287 | 1272 | ||
1288 | config CRASH_DUMP | 1273 | config CRASH_DUMP |
1289 | bool "kernel crash dumps (EXPERIMENTAL)" | 1274 | bool "kernel crash dumps" |
1290 | depends on X86_64 || (X86_32 && HIGHMEM) | 1275 | depends on X86_64 || (X86_32 && HIGHMEM) |
1291 | help | 1276 | help |
1292 | Generate crash dump after being started by kexec. | 1277 | Generate crash dump after being started by kexec. |