summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2009-09-22 02:01:19 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-22 16:17:26 +0200
commitabfc3488118d48a2b8cce5a2345901aac6b03fee (patch)
tree37e39eeef9cb43716339315833be3592b01f9a64 /mm/page_alloc.c
parentmemory hotplug: alloc page from other node in memory online (diff)
downloadlinux-abfc3488118d48a2b8cce5a2345901aac6b03fee.tar.xz
linux-abfc3488118d48a2b8cce5a2345901aac6b03fee.zip
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 <shaohua.li@intel.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Christoph Lameter <cl@linux-foundation.org> Cc: Yakui Zhao <yakui.zhao@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions