[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALvZod7w1ab+EDfYBU50KBg2JkB88ijanCakUiTLdWFZ8Hc0oQ@mail.gmail.com>
Date: Tue, 27 Jul 2021 15:33:01 -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>,
Alexey Dobriyan <adobriyan@...il.com>,
Dmitry Safonov <0x7f454c46@...il.com>,
Yutian Yang <nglaive@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v7 06/10] memcg: enable accounting of ipc resources
On Mon, Jul 26, 2021 at 10:33 PM Vasily Averin <vvs@...tuozzo.com> wrote:
>
> When user creates IPC objects it forces kernel to allocate memory for
> these long-living objects.
>
> It makes sense to account them to restrict the host's memory consumption
> from inside the memcg-limited container.
>
> This patch enables accounting for IPC shared memory segments, messages
> semaphores and semaphore's undo lists.
>
> Signed-off-by: Vasily Averin <vvs@...tuozzo.com>
Reviewed-by: Shakeel Butt <shakeelb@...gle.com>
Powered by blists - more mailing lists