On Tue, Jun 23, 2020 at 11:47 AM Roman Gushchin <g...@fb.com> wrote:
>
> Memory cgroups are using large chunks of percpu memory to store vmstat
> data.  Yet this memory is not accounted at all, so in the case when there
> are many (dying) cgroups, it's not exactly clear where all the memory is.
>
> Because the size of memory cgroup internal structures can dramatically
> exceed the size of object or page which is pinning it in the memory, it's
> not a good idea to simple ignore it.  It actually breaks the isolation

*simply

> between cgroups.
>
> Let's account the consumed percpu memory to the parent cgroup.
>
> Signed-off-by: Roman Gushchin <g...@fb.com>
> Acked-by: Dennis Zhou <den...@kernel.org>

Reviewed-by: Shakeel Butt <shake...@google.com>

Reply via email to