aboutsummaryrefslogtreecommitdiffstats
path: root/man7/cgroups.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/cgroups.7')
-rw-r--r--man7/cgroups.713
1 files changed, 11 insertions, 2 deletions
diff --git a/man7/cgroups.7 b/man7/cgroups.7
index f6ea348ff6..5ab1070da8 100644
--- a/man7/cgroups.7
+++ b/man7/cgroups.7
@@ -1541,8 +1541,17 @@ so as to minimize the (small) cost of traversing the cgroup hierarchy.
.SS The cgroups v2 """cpu""" controller and realtime processes
As at Linux 4.15, the cgroups v2
.I cpu
-controller does not support control of realtime processes,
-and the controller can be enabled in the root cgroup only
+controller does not support control of realtime threads
+(specifically threads scheduled under any of the policies
+.BR SCHED_FIFO ,
+.BR SCHED_RR ,
+described
+.BR SCHED_DEADLINE ;
+see
+.BR sched (7)).
+Therefore, the
+.I cpu
+controller can be enabled in the root cgroup only
if all realtime threads are in the root cgroup.
(If there are realtime processes in nonroot cgroups, then a
.BR write (2)