diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index 0016ebd4dcba..3aa819d628c1 100644 --- a/mm/Kconfig +++ b/mm/Kconfig | |||
@@ -143,6 +143,18 @@ config MEMORY_HOTREMOVE | |||
143 | depends on MEMORY_HOTPLUG && ARCH_ENABLE_MEMORY_HOTREMOVE | 143 | depends on MEMORY_HOTPLUG && ARCH_ENABLE_MEMORY_HOTREMOVE |
144 | depends on MIGRATION | 144 | depends on MIGRATION |
145 | 145 | ||
146 | # | ||
147 | # If we have space for more page flags then we can enable additional | ||
148 | # optimizations and functionality. | ||
149 | # | ||
150 | # Regular Sparsemem takes page flag bits for the sectionid if it does not | ||
151 | # use a virtual memmap. Disable extended page flags for 32 bit platforms | ||
152 | # that require the use of a sectionid in the page flags. | ||
153 | # | ||
154 | config PAGEFLAGS_EXTENDED | ||
155 | def_bool y | ||
156 | depends on 64BIT || SPARSEMEM_VMEMMAP || !NUMA || !SPARSEMEM | ||
157 | |||
146 | # Heavily threaded applications may benefit from splitting the mm-wide | 158 | # Heavily threaded applications may benefit from splitting the mm-wide |
147 | # page_table_lock, so that faults on different parts of the user address | 159 | # page_table_lock, so that faults on different parts of the user address |
148 | # space can be handled with less contention: split it at this NR_CPUS. | 160 | # space can be handled with less contention: split it at this NR_CPUS. |