Re: [PATCH 06/18] mm: memcontrol: prepare uncharging for removal of private page type counters

Alex Shi
2020-04-21T09:14:02Z

在 2020/4/21 上午6:11, Johannes Weiner 写道:
> The uncharge batching code adds up the anon, file, kmem counts to
> determine the total number of pages to uncharge and references to
> drop. But the next patches will remove the anon and file counters.
>
> Maintain an aggregate nr_pages in the uncharge_gather struct.
>
> Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>

Reviewed-by: Alex Shi <alex.shi@linux.alibaba.com>