[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALvZod5m3otRRqcLBebbgiZbhoYWAMbMg+ESkacJuj64OP=H4Q@mail.gmail.com>
Date: Tue, 3 Mar 2020 08:50:54 -0800
From: Shakeel Butt <shakeelb@...gle.com>
To: Daniel Xu <dxu@...uu.xyz>
Cc: Cgroups <cgroups@...r.kernel.org>, Tejun Heo <tj@...nel.org>,
Li Zefan <lizefan@...wei.com>,
Johannes Weiner <hannes@...xchg.org>,
LKML <linux-kernel@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Kernel Team <kernel-team@...com>
Subject: Re: [PATCH 0/2] Support user xattrs in cgroupfs
Hi Daniel,
On Mon, Mar 2, 2020 at 5:42 PM Daniel Xu <dxu@...uu.xyz> wrote:
>
> User extended attributes are useful as metadata storage for kernfs
> consumers like cgroups. Especially in the case of cgroups, it is useful
> to have a central metadata store that multiple processes/services can
> use to coordinate actions.
>
> A concrete example is for userspace out of memory killers. We want to
> let delegated cgroup subtree owners (running as non-root) to be able to
> say "please avoid killing this cgroup". In server environments this is
> less important as everyone is running as root.
I would recommend removing the "everyone is running as root" statement
as it is not generally true.
Shakeel
Powered by blists - more mailing lists