From: Mel Gorman Date: Mon, 24 May 2010 21:32:20 +0000 (-0700) Subject: mm: migration: allow the migration of PageSwapCache pages X-Git-Tag: v2.6.35-rc1~381 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fe2011ff51e92500010a495df4be86745fbbda9;p=pandora-kernel.git mm: migration: allow the migration of PageSwapCache pages PageAnon pages that are unmapped may or may not have an anon_vma so are not currently migrated. However, a swap cache page can be migrated and fits this description. This patch identifies page swap caches and allows them to be migrated but ensures that no attempt to made to remap the pages would would potentially try to access an already freed anon_vma. Signed-off-by: Mel Gorman Reviewed-by: KAMEZAWA Hiroyuki Reviewed-by: Minchan Kim Cc: Rik van Riel Cc: KOSAKI Motohiro Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed