Kconfig (76cbbead253ddcae9878be0d702208bb1e4fac6f) | Kconfig (d90a25f86dc83df9ce7f1446372cda8029e87f7c) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2 3menu "Memory Management options" 4 5config SELECT_MEMORY_MODEL 6 def_bool y 7 depends on ARCH_SELECT_MEMORY_MODEL 8 --- 236 unchanged lines hidden (view full) --- 245 Allows the migration of the physical location of pages of processes 246 while the virtual addresses are not changed. This is useful in 247 two situations. The first is on NUMA systems to put pages nearer 248 to the processors accessing. The second is when allocating huge 249 pages as migration can relocate pages to satisfy a huge page 250 allocation instead of reclaiming. 251 252config DEVICE_MIGRATION | 1# SPDX-License-Identifier: GPL-2.0-only 2 3menu "Memory Management options" 4 5config SELECT_MEMORY_MODEL 6 def_bool y 7 depends on ARCH_SELECT_MEMORY_MODEL 8 --- 236 unchanged lines hidden (view full) --- 245 Allows the migration of the physical location of pages of processes 246 while the virtual addresses are not changed. This is useful in 247 two situations. The first is on NUMA systems to put pages nearer 248 to the processors accessing. The second is when allocating huge 249 pages as migration can relocate pages to satisfy a huge page 250 allocation instead of reclaiming. 251 252config DEVICE_MIGRATION |
253 def_bool MIGRATION && DEVICE_PRIVATE | 253 def_bool MIGRATION && ZONE_DEVICE |
254 255config ARCH_ENABLE_HUGEPAGE_MIGRATION 256 bool 257 258config ARCH_ENABLE_THP_MIGRATION 259 bool 260 261config HUGETLB_PAGE_SIZE_VARIABLE --- 635 unchanged lines hidden --- | 254 255config ARCH_ENABLE_HUGEPAGE_MIGRATION 256 bool 257 258config ARCH_ENABLE_THP_MIGRATION 259 bool 260 261config HUGETLB_PAGE_SIZE_VARIABLE --- 635 unchanged lines hidden --- |