diff options
author | Shaohua Li <shaohua.li@intel.com> | 2009-09-21 17:01:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 07:17:26 -0700 |
commit | abfc3488118d48a2b8cce5a2345901aac6b03fee (patch) | |
tree | 37e39eeef9cb43716339315833be3592b01f9a64 /mm/vmstat.c | |
parent | f52407ce2deac76c87abc8211a63ea152ba72d54 (diff) | |
download | linux-stable-abfc3488118d48a2b8cce5a2345901aac6b03fee.tar.gz linux-stable-abfc3488118d48a2b8cce5a2345901aac6b03fee.tar.bz2 linux-stable-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/vmstat.c')
0 files changed, 0 insertions, 0 deletions