提交 99ef0315 编写于 作者: W Wanlong Gao 提交者: Linus Torvalds

ksm: fix the comment of try_to_unmap_one()

try_to_unmap_one() is called by try_to_unmap_ksm(), too.
Signed-off-by: NWanlong Gao <gaowanlong@cn.fujitsu.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 de7d2b56
...@@ -1164,7 +1164,7 @@ void page_remove_rmap(struct page *page) ...@@ -1164,7 +1164,7 @@ void page_remove_rmap(struct page *page)
/* /*
* Subfunctions of try_to_unmap: try_to_unmap_one called * 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, int try_to_unmap_one(struct page *page, struct vm_area_struct *vma,
unsigned long address, enum ttu_flags flags) unsigned long address, enum ttu_flags flags)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册