Re: [PATCH 0/2] Support user xattrs in cgroupfs

From: Shakeel Butt
Date: Tue Mar 03 2020 - 11:51:09 EST


Hi Daniel,

On Mon, Mar 2, 2020 at 5:42 PM Daniel Xu <dxu@xxxxxxxxx> 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