aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2006-06-23 02:03:32 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-23 07:42:50 -0700
commitc3fcf8a5daacf350f0632e1379414c01f34eeea3 (patch)
treeec7a4cd5d7a2b60ec4539479bb5b24c46b5cf72f /include
parent[PATCH] page migration cleanup: drop nr_refs in remove_references() (diff)
downloadlinux-dev-c3fcf8a5daacf350f0632e1379414c01f34eeea3.tar.xz
linux-dev-c3fcf8a5daacf350f0632e1379414c01f34eeea3.zip
[PATCH] page migration cleanup: extract try_to_unmap from migration functions
Extract try_to_unmap and rename remove_references -> move_mapping try_to_unmap() may significantly change the page state by for example setting the dirty bit. It is therefore best to unmap in migrate_pages() before calling any migration functions. migrate_page_remove_references() will then only move the new page in place of the old page in the mapping. Rename the function to migrate_page_move_mapping(). This allows us to get rid of the special unmapping for the fallback path. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions