From 566e2a75f180ffbbc48f12cc8ed6d7bb2d95de51 Mon Sep 17 00:00:00 2001 From: Wanlong Gao Date: Wed, 28 Sep 2011 10:50:23 +1000 Subject: [PATCH] ksm: fix the comment of try_to_unmap_one() try_to_unmap_one() is called by try_to_unmap_ksm(), too. Signed-off-by: Wanlong Gao Cc: Hugh Dickins Signed-off-by: Andrew Morton <> --- mm/rmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/rmap.c b/mm/rmap.c index f54a6dded920..a9b9b09aac00 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -1163,7 +1163,7 @@ void page_remove_rmap(struct page *page) /* * Subfunctions of try_to_unmap: try_to_unmap_one called - * repeatedly from either try_to_unmap_anon or try_to_unmap_file. + * repeatedly from try_to_unmap_ksm, try_to_unmap_anon or try_to_unmap_file. */ int try_to_unmap_one(struct page *page, struct vm_area_struct *vma, unsigned long address, enum ttu_flags flags) -- 2.39.5