aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2018-01-09 21:20:24 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2018-01-10 00:35:47 +0100
commitc56ec51ba6746c0fb341cc97ae959594952ce7bd (patch)
tree0ab29a398ab8340da2b25af65cc6072d2f6fa1e7
parent7b574df5c6ac4babf46cf1e6fe11f9cfbf4ee8e7 (diff)
downloadman-pages-c56ec51ba6746c0fb341cc97ae959594952ce7bd.tar.gz
cgroups.7: Elaborate a little on problems of splitting threads across cgroups in v1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man7/cgroups.711
1 files changed, 8 insertions, 3 deletions
diff --git a/man7/cgroups.7 b/man7/cgroups.7
index 598081a40c..a623ce3ef7 100644
--- a/man7/cgroups.7
+++ b/man7/cgroups.7
@@ -146,9 +146,14 @@ In this view, a process can consist of multiple tasks
and called such in the remainder of this man page).
In cgroups v1, it is possible to independently manipulate
the cgroup memberships of the threads in a process.
-Because splitting threads across different cgroups
-caused problems in some cases,
-.\" FIXME Add some text describing why this was a problem.
+.PP
+The cgroups v1 ability to split threads across different cgroups
+caused problems in some cases.
+For example, it made no sense for the
+.I memory
+controller,
+since all of the threads of a process share a single address space.
+Because of these problems,
the ability to independently manipulate the cgroup memberships
of the threads in a process was removed in the initial cgroups v2
implementation, and subsequently restored in a more limited form