Skip to content

Commit a41796b

Browse files
Waiman-Longhtejun
authored andcommitted
docs/cgroup: Add the list of threaded controllers to cgroup-v2.rst
The cgroup-v2 file mentions the concept of threaded controllers which can be used in a threaded cgroup. However, it doesn't mention clearly which controllers are threaded leading to some confusion about what controller can be used requiring some experimentation. Clear this up by explicitly listing the controllers that can be used currently in a threaded cgroup. Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
1 parent 27a6c5c commit a41796b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/admin-guide/cgroup-v2.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,13 @@ constraint, a threaded controller must be able to handle competition
364364
between threads in a non-leaf cgroup and its child cgroups. Each
365365
threaded controller defines how such competitions are handled.
366366

367+
Currently, the following controllers are threaded and can be enabled
368+
in a threaded cgroup::
369+
370+
- cpu
371+
- cpuset
372+
- perf_event
373+
- pids
367374

368375
[Un]populated Notification
369376
--------------------------

0 commit comments

Comments
 (0)