]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/Kconfig
mm: drop vmtruncate
[karo-tx-linux.git] / mm / Kconfig
index e6651c5de14f4e42a0b6455e0d0b0859f06c2680..278e3ab1f169b9d7dec6c927f204f977343ac315 100644 (file)
@@ -143,6 +143,25 @@ config NO_BOOTMEM
 config MEMORY_ISOLATION
        boolean
 
+config MOVABLE_NODE
+       boolean "Enable to assign a node which has only movable memory"
+       depends on HAVE_MEMBLOCK
+       depends on NO_BOOTMEM
+       depends on X86_64
+       depends on NUMA
+       default n
+       help
+         Allow a node to have only movable memory.  Pages used by the kernel,
+         such as direct mapping pages cannot be migrated.  So the corresponding
+         memory device cannot be hotplugged.  This option allows users to
+         online all the memory of a node as movable memory so that the whole
+         node can be hotplugged.  Users who don't use the memory hotplug
+         feature are fine with this option on since they don't online memory
+         as movable.
+
+         Say Y here if you want to hotplug a whole node.
+         Say N here if you want kernel to use memory on all nodes evenly.
+
 # eventually, we can have this option just 'select SPARSEMEM'
 config MEMORY_HOTPLUG
        bool "Allow for memory hot-add"