aboutsummaryrefslogtreecommitdiffstats
path: root/man7/cgroups.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-10-07 13:24:07 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-10-07 23:01:35 +0200
commitb43be47ef1baeafb5411ed40beb08398e74f980a (patch)
tree6db2e081d31b92b393a5713f88304b3737d7000c /man7/cgroups.7
parente466137a86526a297e3f0d3b3885f6f423d11529 (diff)
downloadman-pages-b43be47ef1baeafb5411ed40beb08398e74f980a.tar.gz
cgroups.7: Relocate text on cgroup v2 "leaf" nodes
No content changes Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/cgroups.7')
-rw-r--r--man7/cgroups.746
1 files changed, 23 insertions, 23 deletions
diff --git a/man7/cgroups.7 b/man7/cgroups.7
index ece7596972..9472c3cfa8 100644
--- a/man7/cgroups.7
+++ b/man7/cgroups.7
@@ -254,6 +254,29 @@ A child process created via
inherits its parent's cgroup memberships.
A process's cgroup memberships are preserved across
.BR execve (2).
+.\"
+.SS Removing cgroups
+To remove a cgroup,
+it must first have no child cgroups and contain no (nonzombie) processes.
+So long as that is the case, one can simply
+remove the corresponding directory pathname.
+Note that files in a cgroup directory cannot and need not be
+removed.
+.\"
+.SS Cgroups version 2
+In cgroups v2,
+all mounted controllers reside in a single unified hierarchy.
+While (different) controllers may be simultaneously
+mounted under the v1 and v2 hierarchies,
+it is not possible to mount the same controller simultaneously
+under both the v1 and the v2 hierarchies.
+
+The new behaviors in cgroups v2 are summarized below:
+.TP 3
+1. Processes only in leaf nodes
+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.
@@ -280,29 +303,6 @@ This has the advantage of making explicit the relationship between processes in
and
.IR /cg1 's
other children.
-.\"
-.SS Removing cgroups
-To remove a cgroup,
-it must first have no child cgroups and contain no (nonzombie) processes.
-So long as that is the case, one can simply
-remove the corresponding directory pathname.
-Note that files in a cgroup directory cannot and need not be
-removed.
-.\"
-.SS Cgroups version 2
-In cgroups v2,
-all mounted controllers reside in a single unified hierarchy.
-While (different) controllers may be simultaneously
-mounted under the v1 and v2 hierarchies,
-it is not possible to mount the same controller simultaneously
-under both the v1 and the v2 hierarchies.
-
-The new behaviors in cgroups v2 are summarized below:
-.TP 3
-1. Processes only in leaf nodes
-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.
.TP
2. Active cgroups must be specified
The unified hierarchy presents two new files,