[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALvZod5tfepT51EgUVX_Xq=2UykpGehNE5K3+K12OCwymi=-vQ@mail.gmail.com>
Date: Tue, 27 Jul 2021 14:51:43 -0700
From: Shakeel Butt <shakeelb@...gle.com>
To: Vasily Averin <vvs@...tuozzo.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Cgroups <cgroups@...r.kernel.org>,
Michal Hocko <mhocko@...nel.org>,
Johannes Weiner <hannes@...xchg.org>,
Vladimir Davydov <vdavydov.dev@...il.com>,
Roman Gushchin <guro@...com>, Tejun Heo <tj@...nel.org>,
Zefan Li <lizefan.x@...edance.com>,
Thomas Gleixner <tglx@...utronix.de>,
Christian Brauner <christian.brauner@...ntu.com>,
Kirill Tkhai <ktkhai@...tuozzo.com>,
Serge Hallyn <serge@...lyn.com>,
Andrei Vagin <avagin@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v7 05/10] memcg: enable accounting for new namesapces and
struct nsproxy
On Mon, Jul 26, 2021 at 10:33 PM Vasily Averin <vvs@...tuozzo.com> 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 <vvs@...tuozzo.com>
> Acked-by: Serge Hallyn <serge@...lyn.com>
> Acked-by: Christian Brauner <christian.brauner@...ntu.com>
> Acked-by: Kirill Tkhai <ktkhai@...tuozzo.com>
Reviewed-by: Shakeel Butt <shakeelb@...gle.com>
Powered by blists - more mailing lists