diff options
-rw-r--r-- | mm/Kconfig | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index c070ec0c15bf..9ef97417a0b9 100644 --- a/mm/Kconfig +++ b/mm/Kconfig | |||
@@ -112,18 +112,17 @@ 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 | 115 | config SPARSEMEM_VMEMMAP_ENABLE |
121 | def_bool n | 116 | def_bool n |
122 | 117 | ||
123 | config SPARSEMEM_VMEMMAP | 118 | config SPARSEMEM_VMEMMAP |
124 | bool | 119 | bool "Sparse Memory virtual memmap" |
125 | depends on SPARSEMEM | 120 | depends on SPARSEMEM && SPARSEMEM_VMEMMAP_ENABLE |
126 | default y if (SPARSEMEM_VMEMMAP_ENABLE) | 121 | default y |
122 | help | ||
123 | SPARSEMEM_VMEMMAP uses a virtually mapped memmap to optimise | ||
124 | pfn_to_page and page_to_pfn operations. This is the most | ||
125 | efficient option when sufficient kernel resources are available. | ||
127 | 126 | ||
128 | # eventually, we can have this option just 'select SPARSEMEM' | 127 | # eventually, we can have this option just 'select SPARSEMEM' |
129 | config MEMORY_HOTPLUG | 128 | config MEMORY_HOTPLUG |