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

From: Joonsoo Kim
Date: Wed Apr 22 2020 - 02:41:15 EST


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@xxxxxxxxxxx>

Reviewed-by: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>