mirror of https://github.com/mkerrisk/man-pages
cgroups.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2a7b88affd
commit
813d922024
|
@ -108,8 +108,8 @@ and management of the cgroup hierarchies became rather complex.
|
||||||
the kernel source file
|
the kernel source file
|
||||||
.IR Documentation/cgroup\-v2.txt .)
|
.IR Documentation/cgroup\-v2.txt .)
|
||||||
|
|
||||||
Because of the problems with the initial cgroups implementation,
|
Because of the problems with the initial cgroups implementation
|
||||||
now known as cgroups version 1,
|
(cgroups version 1),
|
||||||
starting in Linux 3.10, work began on a new,
|
starting in Linux 3.10, work began on a new,
|
||||||
orthogonal implementation to remedy these problems.
|
orthogonal implementation to remedy these problems.
|
||||||
Initially marked experimental, and hidden behind the
|
Initially marked experimental, and hidden behind the
|
||||||
|
@ -234,7 +234,7 @@ the new child is created as a member of the parent's cgroup,
|
||||||
leading to implicit grouping of process hierarchies.
|
leading to implicit grouping of process hierarchies.
|
||||||
|
|
||||||
Note: in the upcoming unified hierarchy, a new restriction is imposed such
|
Note: in the upcoming unified hierarchy, a new restriction is imposed such
|
||||||
that tasks may only exist in leaf cgroups.
|
that tasks may exist only in leaf cgroups.
|
||||||
For instance, if cgroup
|
For instance, if cgroup
|
||||||
.I /cg1/cg2
|
.I /cg1/cg2
|
||||||
exists, then a task may exist in
|
exists, then a task may exist in
|
||||||
|
@ -298,7 +298,7 @@ under both the v1 and the v2 hierarchies.
|
||||||
The new behaviors in cgroups v2 are summarized below:
|
The new behaviors in cgroups v2 are summarized below:
|
||||||
.TP 3
|
.TP 3
|
||||||
1. Tasks only in leaf nodes
|
1. Tasks only in leaf nodes
|
||||||
With the exception of the root cgroup, tasks may only reside in leaf nodes.
|
With the exception of the root cgroup, tasks may reside only in leaf nodes.
|
||||||
This avoids the need to decide how to partition resources between tasks which
|
This avoids the need to decide how to partition resources between tasks which
|
||||||
are members of cgroup A and tasks in child cgroups of A.
|
are members of cgroup A and tasks in child cgroups of A.
|
||||||
.TP
|
.TP
|
||||||
|
@ -402,7 +402,7 @@ created by a cgroup.
|
||||||
These classids can then be used in firewall rules,
|
These classids can then be used in firewall rules,
|
||||||
as well as used to shape traffic using
|
as well as used to shape traffic using
|
||||||
.BR tc (8).
|
.BR tc (8).
|
||||||
This only applies to packets
|
This applies only to packets
|
||||||
leaving the cgroup, not to traffic arriving at the cgroup.
|
leaving the cgroup, not to traffic arriving at the cgroup.
|
||||||
|
|
||||||
Further information can be found in the kernel source file
|
Further information can be found in the kernel source file
|
||||||
|
|
Loading…
Reference in New Issue