summaryrefslogtreecommitdiff
path: root/include/linux/migrate.h
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2006-06-23 09:03:29 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-23 14:42:50 (GMT)
commit5b5c7120e2154239837fad5e3c7b7b781092b19c (patch)
tree733d5e4268a79abb320316d98c15b822f9f55a15 /include/linux/migrate.h
parente7340f73307abed9283d0a07570d06e228c205dd (diff)
downloadlinux-fsl-qoriq-5b5c7120e2154239837fad5e3c7b7b781092b19c.tar.xz
[PATCH] page migration cleanup: drop nr_refs in remove_references()
Drop nr_refs parameter from migrate_page_remove_references() The nr_refs parameter is not really useful since the number of remaining references is always 1 for anonymous pages without a mapping 2 for pages with a mapping 3 for pages with a mapping and PagePrivate set. Remove the early check for the number of references since we are checking page_mapcount() earlier. Ultimately only the refcount matters after the tree_lock has been obtained. Signed-off-by: Christoph Lameter <clameter@sgi.coim> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/migrate.h')
0 files changed, 0 insertions, 0 deletions