]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ksm: fix the comment of try_to_unmap_one()
authorWanlong Gao <gaowanlong@cn.fujitsu.com>
Wed, 28 Sep 2011 00:50:23 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 29 Sep 2011 06:08:10 +0000 (16:08 +1000)
try_to_unmap_one() is called by try_to_unmap_ksm(), too.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <>
mm/rmap.c

index f54a6dded920ae77680d3e3261cba8aaf9aee106..a9b9b09aac006e6cbd267a9e5b4bf72ccdb509b6 100644 (file)
--- 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)