Skip to content

Commit 25be6a6

Browse files
Hugh Dickinstorvalds
authored andcommitted
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>
1 parent 3066a96 commit 25be6a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎mm/memcontrol.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5512,11 +5512,11 @@ void mem_cgroup_uncharge_list(struct list_head *page_list)
55125512
* mem_cgroup_replace_page - migrate a charge to another page
55135513
* @oldpage: currently charged page
55145514
* @newpage: page to transfer the charge to
5515-
* @lrucare: either or both pages might be on the LRU already
55165515
*
55175516
* Migrate the charge from @oldpage to @newpage.
55185517
*
55195518
* Both pages must be locked, @newpage->mapping must be set up.
5519+
* Either or both pages might be on the LRU already.
55205520
*/
55215521
void mem_cgroup_replace_page(struct page *oldpage, struct page *newpage)
55225522
{

0 commit comments

Comments
 (0)