Re: [PATCH v3 8/8] kselftests: cgroup: update kmem test for new vmstat implementation

From: Roman Gushchin
Date: Tue Feb 09 2021 - 19:32:00 EST


On Tue, Feb 09, 2021 at 11:33:04AM -0500, Johannes Weiner wrote:
> With memcg having switched to rstat, memory.stat output is precise.
> Update the cgroup selftest to reflect the expectations and error
> tolerances of the new implementation.
>
> Also add newly tracked types of memory to the memory.stat side of the
> equation, since they're included in memory.current and could throw
> false positives.
>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> Reviewed-by: Shakeel Butt <shakeelb@xxxxxxxxxx>

Acked-by: Roman Gushchin <guro@xxxxxx>

Thanks!