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

Joonsoo Kim
2020-04-22T06:41:15Z

On Mon, Apr 20, 2020 at 06:11:14PM -0400, Johannes Weiner wrote:
> 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: Joonsoo Kim <iamjoonsoo.kim@lge.com>