summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorShaohua Li2009-09-22 02:01:19 +0200
committerLinus Torvalds2009-09-22 16:17:26 +0200
commitabfc3488118d48a2b8cce5a2345901aac6b03fee (patch)
tree37e39eeef9cb43716339315833be3592b01f9a64 /mm/hugetlb.c
parentmemory hotplug: alloc page from other node in memory online (diff)
downloadkernel-qcow2-linux-abfc3488118d48a2b8cce5a2345901aac6b03fee.tar.gz
kernel-qcow2-linux-abfc3488118d48a2b8cce5a2345901aac6b03fee.tar.xz
kernel-qcow2-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/hugetlb.c')
0 files changed, 0 insertions, 0 deletions