|
@@ -115,12 +115,17 @@ config SPARSEMEM_EXTREME
|
|
|
# eventually, we can have this option just 'select SPARSEMEM'
|
|
|
config MEMORY_HOTPLUG
|
|
|
bool "Allow for memory hot-add"
|
|
|
- depends on SPARSEMEM && HOTPLUG && !SOFTWARE_SUSPEND && ARCH_ENABLE_MEMORY_HOTPLUG
|
|
|
+ depends on SPARSEMEM || X86_64_ACPI_NUMA
|
|
|
+ depends on HOTPLUG && !SOFTWARE_SUSPEND && ARCH_ENABLE_MEMORY_HOTPLUG
|
|
|
depends on (IA64 || X86 || PPC64)
|
|
|
|
|
|
comment "Memory hotplug is currently incompatible with Software Suspend"
|
|
|
depends on SPARSEMEM && HOTPLUG && SOFTWARE_SUSPEND
|
|
|
|
|
|
+config MEMORY_HOTPLUG_SPARSE
|
|
|
+ def_bool y
|
|
|
+ depends on SPARSEMEM && MEMORY_HOTPLUG
|
|
|
+
|
|
|
# Heavily threaded applications may benefit from splitting the mm-wide
|
|
|
# page_table_lock, so that faults on different parts of the user address
|
|
|
# space can be handled with less contention: split it at this NR_CPUS.
|