diff options
Diffstat (limited to 'mm/Kconfig')
-rw-r--r-- | mm/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index e79de2bd12cd..a0cd086df16b 100644 --- a/mm/Kconfig +++ b/mm/Kconfig | |||
@@ -654,3 +654,20 @@ config DEFERRED_STRUCT_PAGE_INIT | |||
654 | when kswapd starts. This has a potential performance impact on | 654 | when kswapd starts. This has a potential performance impact on |
655 | processes running early in the lifetime of the systemm until kswapd | 655 | processes running early in the lifetime of the systemm until kswapd |
656 | finishes the initialisation. | 656 | finishes the initialisation. |
657 | |||
658 | config ZONE_DEVICE | ||
659 | bool "Device memory (pmem, etc...) hotplug support" if EXPERT | ||
660 | default !ZONE_DMA | ||
661 | depends on !ZONE_DMA | ||
662 | depends on MEMORY_HOTPLUG | ||
663 | depends on MEMORY_HOTREMOVE | ||
664 | depends on X86_64 #arch_add_memory() comprehends device memory | ||
665 | |||
666 | help | ||
667 | Device memory hotplug support allows for establishing pmem, | ||
668 | or other device driver discovered memory regions, in the | ||
669 | memmap. This allows pfn_to_page() lookups of otherwise | ||
670 | "device-physical" addresses which is needed for using a DAX | ||
671 | mapping in an O_DIRECT operation, among other things. | ||
672 | |||
673 | If FS_DAX is enabled, then say Y. | ||