]> 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, 5 Oct 2011 00:43:10 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Oct 2011 06:06:43 +0000 (17:06 +1100)
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 <akpm@linux-foundation.org>
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)