[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200313010057.GB24320@chrisdown.name>
Date: Fri, 13 Mar 2020 01:00:57 +0000
From: Chris Down <chris@...isdown.name>
To: Daniel Xu <dxu@...uu.xyz>
Cc: cgroups@...r.kernel.org, tj@...nel.org, lizefan@...wei.com,
hannes@...xchg.org, viro@...iv.linux.org.uk, shakeelb@...gle.com,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
gregkh@...uxfoundation.org, kernel-team@...com
Subject: Re: [PATCH v3 0/4] Support user xattrs in cgroupfs
Daniel Xu writes:
>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". This is especially important for
>desktop linux as delegated subtrees owners are less likely to run as
>root.
>
>The first two commits set up some stuff for the third commit which
>intro introduce a new flag, KERNFS_ROOT_SUPPORT_USER_XATTR,
>that lets kernfs consumers enable user xattr support. The final commit
>turns on user xattr support for cgroupfs.
The whole series looks good to me, thanks.
For the whole series:
Acked-by: Chris Down <chris@...isdown.name>
Powered by blists - more mailing lists