aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorHuang Shijie <shijie8@gmail.com>2009-12-14 20:58:50 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-15 11:53:16 -0500
commit8051be5e614f3e3feccbe9e06b50e0b889740a93 (patch)
tree7a8fc30c60b827209aa13581b3a9c1422d7632f3 /mm
parent6aceb53be44ed55a2374c20a62e3aef9d3919e8d (diff)
rmap: fix the comment for try_to_unmap_anon
Fix the comment for try_to_unmap_anon() with the new arguments. Signed-off-by: Huang Shijie <shijie8@gmail.com> Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/rmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index 710bb4b2adf1..265d529905a7 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -1001,8 +1001,7 @@ static int try_to_mlock_page(struct page *page, struct vm_area_struct *vma)
1001 * try_to_unmap_anon - unmap or unlock anonymous page using the object-based 1001 * try_to_unmap_anon - unmap or unlock anonymous page using the object-based
1002 * rmap method 1002 * rmap method
1003 * @page: the page to unmap/unlock 1003 * @page: the page to unmap/unlock
1004 * @unlock: request for unlock rather than unmap [unlikely] 1004 * @flags: action and flags
1005 * @migration: unmapping for migration - ignored if @unlock
1006 * 1005 *
1007 * Find all the mappings of a page using the mapping pointer and the vma chains 1006 * Find all the mappings of a page using the mapping pointer and the vma chains
1008 * contained in the anon_vma struct it points to. 1007 * contained in the anon_vma struct it points to.