[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 <clameter@sgi.com>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Christoph Lameter 2006-03-25 03:06:48 -08:00 committed by Linus Torvalds
parent 0718dc2a82
commit d784124cfe

View file

@ -138,8 +138,8 @@ config SPLIT_PTLOCK_CPUS
# #
config MIGRATION config MIGRATION
bool "Page migration" bool "Page migration"
def_bool y if NUMA || SPARSEMEM || DISCONTIGMEM def_bool y if NUMA
depends on SWAP depends on SWAP && NUMA
help help
Allows the migration of the physical location of pages of processes Allows the migration of the physical location of pages of processes
while the virtual addresses are not changed. This is useful for while the virtual addresses are not changed. This is useful for