Re: [PATCH v7 05/10] memcg: enable accounting for new namesapces and struct nsproxy
From: Shakeel Butt <hidden>
Date: 2021-07-27 21:52:00
Also in:
lkml
From: Shakeel Butt <hidden>
Date: 2021-07-27 21:52:00
Also in:
lkml
On Mon, Jul 26, 2021 at 10:33 PM Vasily Averin [off-list ref] wrote:
Container admin can create new namespaces and force kernel to allocate up to several pages of memory for the namespaces and its associated structures. Net and uts namespaces have enabled accounting for such allocations. It makes sense to account for rest ones to restrict the host's memory consumption from inside the memcg-limited container. Signed-off-by: Vasily Averin <redacted> Acked-by: Serge Hallyn <serge@hallyn.com> Acked-by: Christian Brauner <redacted> Acked-by: Kirill Tkhai <redacted>
Reviewed-by: Shakeel Butt <redacted>