public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* cgroups(7): documenting /sys/kernel/cgroup files
@ 2018-01-08 21:11 Michael Kerrisk (man-pages)
  2018-01-09 11:28 ` Roman Gushchin
  2018-01-10  4:23 ` Michael Kerrisk (man-pages)
  0 siblings, 2 replies; 13+ messages in thread
From: Michael Kerrisk (man-pages) @ 2018-01-08 21:11 UTC (permalink / raw)
  To: Roman Gushchin
  Cc: mtk.manpages, Serge E. Hallyn, Tejun Heo, linux-man, lkml,
	cgroups

Hello Roman,

I wrote cgroups(7) text below to document the files added by you in
Linux 4.15. Could you let me know if the following text is okay please:

   /sys/kernel/cgroup files
       /sys/kernel/cgroup/delegate (since Linux 4.15)
              This file exports a list of the cgroups v2 files  (one  per
              line) that are delegatable (i.e., whose ownership should be
              changed to the user ID of the delegatee).  In  the  future,
              the  set  of delegatable files may change or grow, and this
              file provides a way for the  kernel  to  inform  user-space
              applications of which files must be delegated.  As at Linux
              4.15, one sees the following when inspecting this file:

                  $ cat /sys/kernel/cgroup/delegate
                  cgroup.procs
                  cgroup.subtree_control

       /sys/kernel/cgroup/features (since Linux 4.15)
              Over time, the set of cgroups v2 features that are provided
              by  the kernel may change or grow, or some features may not
              be enabled by default.  This file provides a way for  user-
              space  applications  to  discover what features the running
              kernel supports or has enabled.  Features  are  listed  one
              per line:

                  $ cat /sys/kernel/cgroup/features nsdelegate

              The entries that can appear in this file are:

              nsdelegate (since Linux 4.15)
                     The kernel supports the nsdelegate mount option.

Cheers,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-01-10 19:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-08 21:11 cgroups(7): documenting /sys/kernel/cgroup files Michael Kerrisk (man-pages)
2018-01-09 11:28 ` Roman Gushchin
2018-01-09 18:52   ` Michael Kerrisk (man-pages)
2018-01-10  4:23 ` Michael Kerrisk (man-pages)
2018-01-10 12:44   ` Roman Gushchin
2018-01-10 14:02     ` Tejun Heo
2018-01-10 14:32       ` Roman Gushchin
2018-01-10 17:31       ` Michael Kerrisk (man-pages)
2018-01-10 17:33         ` Tejun Heo
2018-01-10 17:39           ` Tejun Heo
2018-01-10 17:44       ` Tejun Heo
2018-01-10 19:14         ` Michael Kerrisk (man-pages)
2018-01-10 17:45     ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox