device-dax: "Hotplug" persistent memory for use like normal RAM
[linux-2.6-microblaze.git] / drivers / dax / Kconfig
index 6fc96f0..5ef624f 100644 (file)
@@ -32,6 +32,22 @@ config DEV_DAX_PMEM
 
          Say M if unsure
 
+config DEV_DAX_KMEM
+       tristate "KMEM DAX: volatile-use of persistent memory"
+       default DEV_DAX
+       depends on DEV_DAX
+       depends on MEMORY_HOTPLUG # for add_memory() and friends
+       help
+         Support access to persistent memory as if it were RAM.  This
+         allows easier use of persistent memory by unmodified
+         applications.
+
+         To use this feature, a DAX device must be unbound from the
+         device_dax driver (PMEM DAX) and bound to this kmem driver
+         on each boot.
+
+         Say N if unsure.
+
 config DEV_DAX_PMEM_COMPAT
        tristate "PMEM DAX: support the deprecated /sys/class/dax interface"
        depends on DEV_DAX_PMEM