diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-09-05 12:56:57 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-05 12:56:57 -0400 |
commit | 616ad8c44281c0c6711a72b560e01ec335ff27e0 (patch) | |
tree | 0a20453ffedb09db6fb41a0c2208ccc2c7751d3a /arch/x86/Kconfig | |
parent | 99809963c99e1ed868d9ebeb4a5e7ee1cbe0309f (diff) | |
parent | b380b0d4f7dffcc235c0facefa537d4655619101 (diff) |
Merge branch 'linus' into x86/defconfig
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 e2305c7d881b..962388cffa89 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" |
@@ -952,9 +945,9 @@ config NUMA | |||
952 | local memory controller of the CPU and add some more | 945 | local memory controller of the CPU and add some more |
953 | NUMA awareness to the kernel. | 946 | NUMA awareness to the kernel. |
954 | 947 | ||
955 | For i386 this is currently highly experimental and should be only | 948 | For 32-bit this is currently highly experimental and should be only |
956 | used for kernel development. It might also cause boot failures. | 949 | used for kernel development. It might also cause boot failures. |
957 | For x86_64 this is recommended on all multiprocessor Opteron systems. | 950 | For 64-bit this is recommended on all multiprocessor Opteron systems. |
958 | If the system is EM64T, you should say N unless your system is | 951 | If the system is EM64T, you should say N unless your system is |
959 | EM64T NUMA. | 952 | EM64T NUMA. |
960 | 953 | ||
@@ -997,17 +990,10 @@ config NUMA_EMU | |||
997 | into virtual nodes when booted with "numa=fake=N", where N is the | 990 | into virtual nodes when booted with "numa=fake=N", where N is the |
998 | number of nodes. This is only useful for debugging. | 991 | number of nodes. This is only useful for debugging. |
999 | 992 | ||
1000 | if MAXSMP | ||
1001 | |||
1002 | config NODES_SHIFT | 993 | config NODES_SHIFT |
1003 | int | 994 | int "Maximum NUMA Nodes (as a power of 2)" if !MAXSMP |
1004 | default "9" | ||
1005 | endif | ||
1006 | |||
1007 | if !MAXSMP | ||
1008 | config NODES_SHIFT | ||
1009 | int "Maximum NUMA Nodes (as a power of 2)" | ||
1010 | range 1 9 if X86_64 | 995 | range 1 9 if X86_64 |
996 | default "9" if MAXSMP | ||
1011 | default "6" if X86_64 | 997 | default "6" if X86_64 |
1012 | default "4" if X86_NUMAQ | 998 | default "4" if X86_NUMAQ |
1013 | default "3" | 999 | default "3" |
@@ -1015,7 +1001,6 @@ config NODES_SHIFT | |||
1015 | help | 1001 | help |
1016 | Specify the maximum number of NUMA Nodes available on the target | 1002 | Specify the maximum number of NUMA Nodes available on the target |
1017 | system. Increases memory reserved to accomodate various tables. | 1003 | system. Increases memory reserved to accomodate various tables. |
1018 | endif | ||
1019 | 1004 | ||
1020 | config HAVE_ARCH_BOOTMEM_NODE | 1005 | config HAVE_ARCH_BOOTMEM_NODE |
1021 | def_bool y | 1006 | def_bool y |
@@ -1264,7 +1249,7 @@ config KEXEC | |||
1264 | strongly in flux, so no good recommendation can be made. | 1249 | strongly in flux, so no good recommendation can be made. |
1265 | 1250 | ||
1266 | config CRASH_DUMP | 1251 | config CRASH_DUMP |
1267 | bool "kernel crash dumps (EXPERIMENTAL)" | 1252 | bool "kernel crash dumps" |
1268 | depends on X86_64 || (X86_32 && HIGHMEM) | 1253 | depends on X86_64 || (X86_32 && HIGHMEM) |
1269 | help | 1254 | help |
1270 | Generate crash dump after being started by kexec. | 1255 | Generate crash dump after being started by kexec. |