mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
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>
This commit is contained in:
parent
3066a9670b
commit
25be6a6595
@ -5512,11 +5512,11 @@ void mem_cgroup_uncharge_list(struct list_head *page_list)
|
||||
* mem_cgroup_replace_page - migrate a charge to another page
|
||||
* @oldpage: currently charged page
|
||||
* @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.
|
||||
*
|
||||
* 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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user