mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] docs/cgroup: Add the list of threaded controllers to cgroup-v2.rst
@ 2023-10-17 17:13 Waiman Long
  2023-10-18  8:46 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Waiman Long @ 2023-10-17 17:13 UTC (permalink / raw)
  To: Tejun Heo, Zefan Li, Johannes Weiner, Jonathan Corbet
  Cc: cgroups, linux-doc, linux-kernel, Peter Hunt, 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.

Signed-off-by: Waiman Long <longman@redhat.com>
---
 Documentation/admin-guide/cgroup-v2.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
index b26b5274eaaf..a6f58aecb431 100644
--- a/Documentation/admin-guide/cgroup-v2.rst
+++ b/Documentation/admin-guide/cgroup-v2.rst
@@ -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
 --------------------------
-- 
2.39.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] docs/cgroup: Add the list of threaded controllers to cgroup-v2.rst
  2023-10-17 17:13 [PATCH] docs/cgroup: Add the list of threaded controllers to cgroup-v2.rst Waiman Long
@ 2023-10-18  8:46 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2023-10-18  8:46 UTC (permalink / raw)
  To: Waiman Long
  Cc: Zefan Li, Johannes Weiner, Jonathan Corbet, cgroups, linux-doc,
	linux-kernel, Peter Hunt

On Tue, Oct 17, 2023 at 01:13:41PM -0400, Waiman Long wrote:
> 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>

Applied to cgroup/for-6.7.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-18  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-17 17:13 [PATCH] docs/cgroup: Add the list of threaded controllers to cgroup-v2.rst Waiman Long
2023-10-18  8:46 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®