Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Hugh Dickins and committed by
Linus Torvalds
25be6a65 3066a967

+1 -1
+1 -1
mm/memcontrol.c
··· 5512 5512 * mem_cgroup_replace_page - migrate a charge to another page 5513 5513 * @oldpage: currently charged page 5514 5514 * @newpage: page to transfer the charge to 5515 - * @lrucare: either or both pages might be on the LRU already 5516 5515 * 5517 5516 * Migrate the charge from @oldpage to @newpage. 5518 5517 * 5519 5518 * Both pages must be locked, @newpage->mapping must be set up. 5519 + * Either or both pages might be on the LRU already. 5520 5520 */ 5521 5521 void mem_cgroup_replace_page(struct page *oldpage, struct page *newpage) 5522 5522 {