]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
cgroups.7: Rework text on cgroup v2 "leaf" nodes
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 7 Oct 2016 11:28:14 +0000 (13:28 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 7 Oct 2016 21:01:35 +0000 (23:01 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/cgroups.7

index 9472c3cfa87dcbc565921bba1ceba81e159f6436..673c788223d9da13ee05c0458fa69312d85fc638 100644 (file)
@@ -278,27 +278,25 @@ With the exception of the root cgroup, processes may reside only in leaf nodes.
 This avoids the need to decide how to partition resources between
 processes which are members of cgroup A and processes in child cgroups of A.
 
-Note: in the upcoming unified hierarchy, a new restriction is imposed such
-that processes may reside only in leaf cgroups.
 For instance, if cgroup
 .I /cg1/cg2
 exists, then a process may reside in
 .IR /cg1/cg2 ,
 but not in
 .IR /cg1 .
-This is to avoid the current ambiguity in the delegation of resources
-between processes in
+This is to avoid an ambiguity cgroups v1
+with respect to the delegation of resources between processes in
 .I /cg1
 and its child cgroups.
-The recommended workaround is to create a subdirectory called
+The recommended approach in cgroups v2 is to create a subdirectory called
 .I leaf
-for any non-leaf cgroup which should contain processes, and make sure not to
-create child cgroups of it.
-In the above example, processes which previously would have gone into
+for any nonleaf cgroup which should contain processes, but no child cgroups.
+Thus, processes which previously would have gone into
 .I /cg1
 would now go into
 .IR /cg1/leaf .
-This has the advantage of making explicit the relationship between processes in
+This has the advantage of making explicit
+the relationship between processes in
 .I /cg1/leaf
 and
 .IR /cg1 's