Re: [PATCH] mm: memcontrol: provide shmem statistics

From: Balbir Singh
Date: Tue Feb 21 2017 - 23:13:22 EST


On Tue, Feb 21, 2017 at 11:43:43AM -0500, Johannes Weiner wrote:
> Cgroups currently don't report how much shmem they use, which can be
> useful data to have, in particular since shmem is included in the
> cache/file item while being reclaimed like anonymous memory.
>
> Add a counter to track shmem pages during charging and uncharging.
>
> Reported-by: Chris Down <cdown@xxxxxx>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> ---

Makes sense

Acked-by: Balbir Singh <bsingharora@xxxxxxxxx>