Re: [PATCH 3/4] mm: memcontrol: re-use node VM page state enum
From: Vladimir Davydov
Date: Thu Apr 06 2017 - 05:00:43 EST
On Tue, Apr 04, 2017 at 06:01:47PM -0400, Johannes Weiner wrote:
> The current duplication is a high-maintenance mess, and it's painful
> to add new items or query memcg state from the rest of the VM.
>
> This increases the size of the stat array marginally, but we should
> aim to track all these stats on a per-cgroup level anyway.
>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
Acked-by: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>