Re: [PATCH 06/18] mm: memcontrol: prepare uncharging for removal of private page type counters
From: Alex Shi
Date: Tue Apr 21 2020 - 05:14:02 EST
在 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@xxxxxxxxxxx>
Reviewed-by: Alex Shi <alex.shi@xxxxxxxxxxxxxxxxx>