mirror of https://github.com/mkerrisk/man-pages
cgroups.7: Add a detail on delegation of cgroup.threads
Some notes from a conversation with Tejun Heo: Subject: Re: cgroups(7): documenting cgroups v2 delegation Date: Wed, 10 Jan 2018 14:27:26 -0800 From: Tejun Heo <tj@kernel.org> > > 1. When delegating, cgroup.threads should be delegated. Doing that > > selectively doesn't achieve anything meaningful. > > Understood. But surely delegating cgroup.threads is effectively > meaningless when delegating a "domain" cgroup tree? (Obviously it's > not harmful to delegate the the cgroup.threads file in this case; > it's just not useful to do so.) Yeap, unless we can somehow support non-root mixed domains. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
6dc513cd38
commit
cd7f4c4958
|
@ -915,6 +915,12 @@ the delegater might instead add selected controllers to this file.)
|
||||||
Changing the ownership of this file is necessary if a threaded subtree
|
Changing the ownership of this file is necessary if a threaded subtree
|
||||||
is being delegated (see the description of "thread mode", below).
|
is being delegated (see the description of "thread mode", below).
|
||||||
This permits the delegatee to write thread IDs to the file.
|
This permits the delegatee to write thread IDs to the file.
|
||||||
|
(The ownership of this file can also be changed when delegating
|
||||||
|
a domain subtree, but currently this serves no purpose,
|
||||||
|
since, as described below, it is not possible to move a thread between
|
||||||
|
domain cgroups by writing its thread ID to the
|
||||||
|
.IR cgroup.tasks
|
||||||
|
file.)
|
||||||
.PP
|
.PP
|
||||||
The delegater should
|
The delegater should
|
||||||
.I not
|
.I not
|
||||||
|
|
Loading…
Reference in New Issue