diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2018-10-09 11:45:43 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2018-10-09 11:45:43 +0200 |
| commit | 0bef253ec5b526747861a65518ecd3216b839915 (patch) | |
| tree | 34a2cb5de325698db88ace5ba1a36490287d8a77 | |
| parent | 4644794c1e4c461ebf193ee889201915394b381d (diff) | |
| download | man-pages-0bef253ec5b526747861a65518ecd3216b839915.tar.gz | |
cgroups.7: Add more detail on v2 'cpu' controller and realtime threads
Explicitly note the scheduling policies that are relevant for the
v2 'cpu' controller.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man7/cgroups.7 | 13 |
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) |
