提交 d784124c 编写于 作者: C Christoph Lameter 提交者: Linus Torvalds

[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: NChristoph Lameter <clameter@sgi.com>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 0718dc2a
...@@ -138,8 +138,8 @@ config SPLIT_PTLOCK_CPUS ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册