[lkml]   [2017]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] cgroup: export list of delegatable control files using sysfs
Hello, Roman.

On Fri, Nov 03, 2017 at 10:56:31AM -0700, Tejun Heo wrote:
> On Fri, Nov 03, 2017 at 01:46:02PM -0400, Roman Gushchin wrote:
> > Delegatable cgroup v2 control files may require special handling
> > (e.g. chowning), and the exact list of such files varies between
> > kernel versions (and likely to be extended in the future).
> >
> > To guarantee correctness of this list and simplify the life
> > of userspace (systemd, first of all), let's export the list
> > via /sys/kernel/cgroup/delegates pseudo-file.
> >
> > Format is siple: each control file name is printed on a new line.
> > Example:
> > $ cat /sys/kernel/cgroup/delegates
> Generally looks good to me but I'm not sure whether "delegates" is the
> right name for the file. According to dictionary, it doesn't seem to
> match too well to what we wanna mean here, which is "these files
> belong to the child and should be transferred to the child when
> delegating the cgroup".

So, "delegates" as the plural noun means people who represent. Let's
go with "delegate" which can be read as a verb term meaning "delegate
these files together".



 \ /
  Last update: 2017-11-06 18:39    [W:0.056 / U:4.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site