mirror of https://github.com/mkerrisk/man-pages
cgroups.7: wfix: use "threads" consistently
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0bef253ec5
commit
edc90967b9
|
@ -1538,7 +1538,7 @@ allow a threaded cgroup that employs the
|
||||||
controller to be placed as high as possible in the hierarchy,
|
controller to be placed as high as possible in the hierarchy,
|
||||||
so as to minimize the (small) cost of traversing the cgroup hierarchy.
|
so as to minimize the (small) cost of traversing the cgroup hierarchy.
|
||||||
.\"
|
.\"
|
||||||
.SS The cgroups v2 """cpu""" controller and realtime processes
|
.SS The cgroups v2 """cpu""" controller and realtime threads
|
||||||
As at Linux 4.15, the cgroups v2
|
As at Linux 4.15, the cgroups v2
|
||||||
.I cpu
|
.I cpu
|
||||||
controller does not support control of realtime threads
|
controller does not support control of realtime threads
|
||||||
|
@ -1553,7 +1553,7 @@ Therefore, the
|
||||||
.I cpu
|
.I cpu
|
||||||
controller can be enabled in the root cgroup only
|
controller can be enabled in the root cgroup only
|
||||||
if all realtime threads are in the root cgroup.
|
if all realtime threads are in the root cgroup.
|
||||||
(If there are realtime processes in nonroot cgroups, then a
|
(If there are realtime threads in nonroot cgroups, then a
|
||||||
.BR write (2)
|
.BR write (2)
|
||||||
of the string
|
of the string
|
||||||
.IR """+cpu"""
|
.IR """+cpu"""
|
||||||
|
@ -1563,9 +1563,9 @@ file fails with the error
|
||||||
.BR EINVAL .)
|
.BR EINVAL .)
|
||||||
However, on some systems,
|
However, on some systems,
|
||||||
.BR systemd (1)
|
.BR systemd (1)
|
||||||
places certain realtime processes in nonroot cgroups in the v2 hierarchy.
|
places certain realtime threads in nonroot cgroups in the v2 hierarchy.
|
||||||
On such systems,
|
On such systems,
|
||||||
these processes must first be moved to the root cgroup before the
|
these threads must first be moved to the root cgroup before the
|
||||||
.I cpu
|
.I cpu
|
||||||
controller can be enabled.
|
controller can be enabled.
|
||||||
.\"
|
.\"
|
||||||
|
|
Loading…
Reference in New Issue