mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] mm: make page migration dependent on swap and NUMA
The page migration code could function without NUMA but we currently have no users for the non-NUMA case. Signed-off-by: Christoph Lameter <[email protected]> Cc: Adrian Bunk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
0718dc2a82
commit
d784124cfe
1 changed files with 2 additions and 2 deletions
|
|
@ -138,8 +138,8 @@ config SPLIT_PTLOCK_CPUS
|
|||
#
|
||||
config MIGRATION
|
||||
bool "Page migration"
|
||||
def_bool y if NUMA || SPARSEMEM || DISCONTIGMEM
|
||||
depends on SWAP
|
||||
def_bool y if NUMA
|
||||
depends on SWAP && NUMA
|
||||
help
|
||||
Allows the migration of the physical location of pages of processes
|
||||
while the virtual addresses are not changed. This is useful for
|
||||
|
|
|
|||
Loading…
Reference in a new issue