From: Shaohua Li Date: Tue, 22 Sep 2009 00:01:19 +0000 (-0700) Subject: memory hotplug: migrate swap cache page X-Git-Tag: v2.6.32-rc1~590 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abfc3488118d48a2b8cce5a2345901aac6b03fee;p=pandora-kernel.git memory hotplug: migrate swap cache page In test, some pages in swap-cache can't be migrated, as they aren't rmap. unmap_and_move() ignores swap-cache page which is just read in and hasn't rmap (see the comments in the code), but swap_aops provides .migratepage. Better to migrate such pages instead of ignore them. Signed-off-by: Shaohua Li Cc: Mel Gorman Cc: Christoph Lameter Cc: Yakui Zhao Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed