diff options
author | Mel Gorman <mel@csn.ul.ie> | 2010-05-24 14:32:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-25 08:06:59 -0700 |
commit | 3fe2011ff51e92500010a495df4be86745fbbda9 (patch) | |
tree | f3dc07b9d41ce5ba15805c2d3b4bc0a1a7916832 /fs/exec.c | |
parent | 67b9509b2c68ae38cecb83a239881cb0ddf087dc (diff) | |
download | kernel_samsung_smdk4412-3fe2011ff51e92500010a495df4be86745fbbda9.zip kernel_samsung_smdk4412-3fe2011ff51e92500010a495df4be86745fbbda9.tar.gz kernel_samsung_smdk4412-3fe2011ff51e92500010a495df4be86745fbbda9.tar.bz2 |
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 <mel@csn.ul.ie>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions