aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2018-10-04 22:22:31 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2018-10-05 08:22:10 +0200
commit6c9aa5ad5f588594062100e832ef06d17a49187d (patch)
treed974571e981231a17e93eb83ba721db3f6ed6404 /man7
parentdf0a41dfe381ec8ea30ca8a191e13c00ad1a005b (diff)
downloadman-pages-6c9aa5ad5f588594062100e832ef06d17a49187d.tar.gz
cgroups.7: Rework discussion of writing to cgroup.type file
In particular, it is possible to write "threaded" to a cgroup.type file if the current type is "domain threaded". Previously, the text had implied that this was not possible. Verified by experiment on Linux 4.15 and 4.19-rc. Reported-by: Leah Hanson <lhanson@pivotal.io> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7')
-rw-r--r--man7/cgroups.723
1 files changed, 13 insertions, 10 deletions
diff --git a/man7/cgroups.7 b/man7/cgroups.7
index 3552cafa1d..8e106d8e7e 100644
--- a/man7/cgroups.7
+++ b/man7/cgroups.7
@@ -1408,24 +1408,27 @@ In other words, the only explicit transition that is possible is to convert a
cgroup to type
.IR threaded .
.IP *
-The string
+The effect of writing
.IR """threaded"""
-can be written only if the current value in
-.IR cgroup.type
-is one of the following
+depends on the current value in
+.IR cgroup.type ,
+as follows:
.RS
.IP \(bu 3
-.IR domain ,
-to start the creation of a threaded subtree via
+.IR domain
+or
+.IR "domain threaded" :
+start the creation of a threaded subtree
+(whose root is the parent of this cgroup) via
the first of the pathways described above;
.IP \(bu
-.IR "domain\ invalid" ,
-to convert one of the cgroups in a threaded subtree into a usable (i.e.,
+.IR "domain\ invalid" :
+convert one of the cgroups in a threaded subtree into a usable (i.e.,
.IR threaded )
state;
.IP \(bu
-.IR threaded ,
-which has no effect (a "no-op").
+.IR threaded :
+no effect (a "no-op").
.RE
.IP *
We can't write to a