瀏覽代碼

mm: fix kerneldoc on mem_cgroup_replace_page

Whoops, I missed removing the kerneldoc comment of the lrucare arg
removed from mem_cgroup_replace_page; but it's a good comment, keep it.

Signed-off-by: Hugh Dickins <hughd@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Hugh Dickins 9 年之前
父節點
當前提交
25be6a6595
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mm/memcontrol.c

+ 1 - 1
mm/memcontrol.c

@@ -5512,11 +5512,11 @@ void mem_cgroup_uncharge_list(struct list_head *page_list)
  * mem_cgroup_replace_page - migrate a charge to another page
  * mem_cgroup_replace_page - migrate a charge to another page
  * @oldpage: currently charged page
  * @oldpage: currently charged page
  * @newpage: page to transfer the charge to
  * @newpage: page to transfer the charge to
- * @lrucare: either or both pages might be on the LRU already
  *
  *
  * Migrate the charge from @oldpage to @newpage.
  * Migrate the charge from @oldpage to @newpage.
  *
  *
  * Both pages must be locked, @newpage->mapping must be set up.
  * Both pages must be locked, @newpage->mapping must be set up.
+ * Either or both pages might be on the LRU already.
  */
  */
 void mem_cgroup_replace_page(struct page *oldpage, struct page *newpage)
 void mem_cgroup_replace_page(struct page *oldpage, struct page *newpage)
 {
 {