Skip to contentSkip to conversation

docs/cgroup: Add the list of threaded controllers to cgroup-v2.rst

PATCH Applied Waiman Long 2 participants 2 messages Oct 17, 2023 – Oct 18, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 Documentation/admin-guide/cgroup-v2.rst | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/admin-guide/cgroup-v2.rst +7 -0
index b26b5274eaaf..a6f58aecb431 100644
@@ -364,6 +364,13 @@ constraint, a threaded controller must be able to handle competition
 between threads in a non-leaf cgroup and its child cgroups.  Each
 threaded controller defines how such competitions are handled.
 
+Currently, the following controllers are threaded and can be enabled
+in a threaded cgroup::
+
+- cpu
+- cpuset
+- perf_event
+- pids
 
 [Un]populated Notification
 --------------------------
Signature · 1 line
2.39.3
maintainer Applied
#1 lore raw
Quoted 7 lines · Waiman Long

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.

Applied to cgroup/for-6.7.

Thanks.

Signature · 1 line
tejun