aboutsummaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'mm/Kconfig')
-rw-r--r--mm/Kconfig17
1 files changed, 9 insertions, 8 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 247760729593..44cf6f0a3a6d 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -67,7 +67,7 @@ config DISCONTIGMEM
67 67
68config SPARSEMEM 68config SPARSEMEM
69 def_bool y 69 def_bool y
70 depends on SPARSEMEM_MANUAL 70 depends on (!SELECT_MEMORY_MODEL && ARCH_SPARSEMEM_ENABLE) || SPARSEMEM_MANUAL
71 71
72config FLATMEM 72config FLATMEM
73 def_bool y 73 def_bool y
@@ -128,11 +128,8 @@ config SPARSEMEM_VMEMMAP
128config MEMORY_HOTPLUG 128config MEMORY_HOTPLUG
129 bool "Allow for memory hot-add" 129 bool "Allow for memory hot-add"
130 depends on SPARSEMEM || X86_64_ACPI_NUMA 130 depends on SPARSEMEM || X86_64_ACPI_NUMA
131 depends on HOTPLUG && !(HIBERNATION && !S390) && ARCH_ENABLE_MEMORY_HOTPLUG 131 depends on HOTPLUG && ARCH_ENABLE_MEMORY_HOTPLUG
132 depends on (IA64 || X86 || PPC64 || SUPERH || S390) 132 depends on (IA64 || X86 || PPC_BOOK3S_64 || SUPERH || S390)
133
134comment "Memory hotplug is currently incompatible with Software Suspend"
135 depends on SPARSEMEM && HOTPLUG && HIBERNATION && !S390
136 133
137config MEMORY_HOTPLUG_SPARSE 134config MEMORY_HOTPLUG_SPARSE
138 def_bool y 135 def_bool y
@@ -224,7 +221,9 @@ config KSM
224 the many instances by a single resident page with that content, so 221 the many instances by a single resident page with that content, so
225 saving memory until one or another app needs to modify the content. 222 saving memory until one or another app needs to modify the content.
226 Recommended for use with KVM, or with other duplicative applications. 223 Recommended for use with KVM, or with other duplicative applications.
227 See Documentation/vm/ksm.txt for more information. 224 See Documentation/vm/ksm.txt for more information: KSM is inactive
225 until a program has madvised that an area is MADV_MERGEABLE, and
226 root has set /sys/kernel/mm/ksm/run to 1 (if CONFIG_SYSFS is set).
228 227
229config DEFAULT_MMAP_MIN_ADDR 228config DEFAULT_MMAP_MIN_ADDR
230 int "Low address space to protect from user allocation" 229 int "Low address space to protect from user allocation"
@@ -244,10 +243,12 @@ config DEFAULT_MMAP_MIN_ADDR
244 This value can be changed after boot using the 243 This value can be changed after boot using the
245 /proc/sys/vm/mmap_min_addr tunable. 244 /proc/sys/vm/mmap_min_addr tunable.
246 245
246config ARCH_SUPPORTS_MEMORY_FAILURE
247 bool
247 248
248config MEMORY_FAILURE 249config MEMORY_FAILURE
249 depends on MMU 250 depends on MMU
250 depends on X86_MCE 251 depends on ARCH_SUPPORTS_MEMORY_FAILURE
251 bool "Enable recovery from hardware memory errors" 252 bool "Enable recovery from hardware memory errors"
252 help 253 help
253 Enables code to recover from some memory failures on systems 254 Enables code to recover from some memory failures on systems