Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d784124c authored by Christoph Lameter's avatar Christoph Lameter Committed by Linus Torvalds
Browse files

[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: default avatarChristoph Lameter <clameter@sgi.com>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0718dc2a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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