summaryrefslogtreecommitdiffstats
path: root/tools/vm
diff options
context:
space:
mode:
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>2014-01-22 00:49:52 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-22 01:19:45 +0100
commite8351ac9bfa7f4412d5d196b6742309473ca506d (patch)
treea7110ca9274ac25e72f3fac02cc7ba5e934e995b /tools/vm
parentmm/rmap: use rmap_walk() in try_to_unmap() (diff)
downloadlinux-e8351ac9bfa7f4412d5d196b6742309473ca506d.tar.xz
linux-e8351ac9bfa7f4412d5d196b6742309473ca506d.zip
mm/rmap: use rmap_walk() in try_to_munlock()
Now, we have an infrastructure in rmap_walk() to handle difference from variants of rmap traversing functions. So, just use it in try_to_munlock(). In this patch, I change following things. 1. remove some variants of rmap traversing functions. cf> try_to_unmap_ksm, try_to_unmap_anon, try_to_unmap_file 2. mechanical change to use rmap_walk() in try_to_munlock(). 3. copy and paste comments. Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Hugh Dickins <hughd@google.com> Cc: Rik van Riel <riel@redhat.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Hillf Danton <dhillf@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/vm')
0 files changed, 0 insertions, 0 deletions