|
@@ -192,6 +192,22 @@ config MEMORY_HOTPLUG_SPARSE
|
|
|
def_bool y
|
|
|
depends on SPARSEMEM && MEMORY_HOTPLUG
|
|
|
|
|
|
+config MEMORY_HOTPLUG_DEFAULT_ONLINE
|
|
|
+ bool "Online the newly added memory blocks by default"
|
|
|
+ default n
|
|
|
+ depends on MEMORY_HOTPLUG
|
|
|
+ help
|
|
|
+ This option sets the default policy setting for memory hotplug
|
|
|
+ onlining policy (/sys/devices/system/memory/auto_online_blocks) which
|
|
|
+ determines what happens to newly added memory regions. Policy setting
|
|
|
+ can always be changed at runtime.
|
|
|
+ See Documentation/memory-hotplug.txt for more information.
|
|
|
+
|
|
|
+ Say Y here if you want all hot-plugged memory blocks to appear in
|
|
|
+ 'online' state by default.
|
|
|
+ Say N here if you want the default policy to keep all hot-plugged
|
|
|
+ memory blocks in 'offline' state.
|
|
|
+
|
|
|
config MEMORY_HOTREMOVE
|
|
|
bool "Allow for memory hot remove"
|
|
|
select MEMORY_ISOLATION
|