aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-10-07 13:52:19 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-10-08 14:08:23 +0200
commit31ec2a5cf7c7b71f7edec89a5d8dd3e14226f2a4 (patch)
tree2fd2681b43f1858d82fa0bc47d80911e1373870a
parent15ce4b0caef98281581ce547e6d990088a82da68 (diff)
downloadman-pages-31ec2a5cf7c7b71f7edec89a5d8dd3e14226f2a4.tar.gz
cgroups.7: A cgroup v1 controller can't be mounted against multiple hierarchies
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man7/cgroups.714
1 files changed, 14 insertions, 0 deletions
diff --git a/man7/cgroups.7 b/man7/cgroups.7
index 109f7c0895..12ebbd30d7 100644
--- a/man7/cgroups.7
+++ b/man7/cgroups.7
@@ -208,6 +208,20 @@ mount \-t cgroup \-o all cgroup /sys/fs/cgroup
.IR "\-o all" ,
since it is the default if no controllers are explicitly specified.)
+It is not possible to mount the same controller
+against multiple cgroup hierarchies.
+For example, it is not possible to mount both the
+.I cpu
+and
+.I cpuacct
+controllers against one hierarchy, and to mount the
+.I cpu
+controller alone against another hierarchy.
+It is possible to create multiple mount points with exactly
+the same set of comounted controllers.
+However, in this case all that results is multiple mount points
+providing a view of the same hierarchy.
+
Note that on many systems, the v1 controllers are automatically mounted under
.IR /sys/fs/cgroup ;
in particular,