diff options
Diffstat (limited to 'mm/Kconfig')
-rw-r--r-- | mm/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index a7609cbcb00d..b06730668412 100644 --- a/mm/Kconfig +++ b/mm/Kconfig | |||
@@ -112,6 +112,19 @@ config SPARSEMEM_EXTREME | |||
112 | def_bool y | 112 | def_bool y |
113 | depends on SPARSEMEM && !SPARSEMEM_STATIC | 113 | depends on SPARSEMEM && !SPARSEMEM_STATIC |
114 | 114 | ||
115 | # | ||
116 | # SPARSEMEM_VMEMMAP uses a virtually mapped mem_map to optimise pfn_to_page | ||
117 | # and page_to_pfn. The most efficient option where kernel virtual space is | ||
118 | # not under pressure. | ||
119 | # | ||
120 | config SPARSEMEM_VMEMMAP_ENABLE | ||
121 | def_bool n | ||
122 | |||
123 | config SPARSEMEM_VMEMMAP | ||
124 | bool | ||
125 | depends on SPARSEMEM | ||
126 | default y if (SPARSEMEM_VMEMMAP_ENABLE) | ||
127 | |||
115 | # eventually, we can have this option just 'select SPARSEMEM' | 128 | # eventually, we can have this option just 'select SPARSEMEM' |
116 | config MEMORY_HOTPLUG | 129 | config MEMORY_HOTPLUG |
117 | bool "Allow for memory hot-add" | 130 | bool "Allow for memory hot-add" |