diff options
author | Hugh Dickins <hughd@google.com> | 2015-12-11 16:40:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-12-12 13:15:34 -0500 |
commit | 25be6a659598791d511c09ed71dca24e4844d128 (patch) | |
tree | 8aabf6f31482f166470d134996c80a54235d6efa /mm/memcontrol.c | |
parent | 3066a9670ba6f57dd5046640a2494912a2110f1e (diff) |
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>
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r-- | mm/memcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 32259e37a66b..e234c21a5e6c 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -5512,11 +5512,11 @@ void mem_cgroup_uncharge_list(struct list_head *page_list) | |||
5512 | * mem_cgroup_replace_page - migrate a charge to another page | 5512 | * mem_cgroup_replace_page - migrate a charge to another page |
5513 | * @oldpage: currently charged page | 5513 | * @oldpage: currently charged page |
5514 | * @newpage: page to transfer the charge to | 5514 | * @newpage: page to transfer the charge to |
5515 | * @lrucare: either or both pages might be on the LRU already | ||
5516 | * | 5515 | * |
5517 | * Migrate the charge from @oldpage to @newpage. | 5516 | * Migrate the charge from @oldpage to @newpage. |
5518 | * | 5517 | * |
5519 | * Both pages must be locked, @newpage->mapping must be set up. | 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 | void mem_cgroup_replace_page(struct page *oldpage, struct page *newpage) | 5521 | void mem_cgroup_replace_page(struct page *oldpage, struct page *newpage) |
5522 | { | 5522 | { |