diff options
author | Wanlong Gao <gaowanlong@cn.fujitsu.com> | 2011-10-31 20:08:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-31 20:30:49 -0400 |
commit | 99ef0315f1b320f392acc4364598340e78758fd2 (patch) | |
tree | e8aadca4fd1debdf9ea17c238d3bf2fc73a96137 /mm/rmap.c | |
parent | de7d2b567d040e3b67fe7121945982f14343213d (diff) |
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 <gaowanlong@cn.fujitsu.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
-rw-r--r-- | mm/rmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1164,7 +1164,7 @@ void page_remove_rmap(struct page *page) | |||
1164 | 1164 | ||
1165 | /* | 1165 | /* |
1166 | * Subfunctions of try_to_unmap: try_to_unmap_one called | 1166 | * Subfunctions of try_to_unmap: try_to_unmap_one called |
1167 | * repeatedly from either try_to_unmap_anon or try_to_unmap_file. | 1167 | * repeatedly from try_to_unmap_ksm, try_to_unmap_anon or try_to_unmap_file. |
1168 | */ | 1168 | */ |
1169 | int try_to_unmap_one(struct page *page, struct vm_area_struct *vma, | 1169 | int try_to_unmap_one(struct page *page, struct vm_area_struct *vma, |
1170 | unsigned long address, enum ttu_flags flags) | 1170 | unsigned long address, enum ttu_flags flags) |