2023-06-17 08:23:53

by Miaohe Lin

[permalink] [raw]
Subject: [PATCH] cgroup: remove obsolete comment on cgroup_on_dfl()

The debug feature is supported since commit 8cc38fa7fa31 ("cgroup: make
debug an implicit controller on cgroup2"), update corresponding comment.

Signed-off-by: Miaohe Lin <[email protected]>
---
kernel/cgroup/cgroup.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index cd497b90e11a..bfe3cd8ccf36 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -313,8 +313,6 @@ bool cgroup_ssid_enabled(int ssid)
* masks of ancestors.
*
* - blkcg: blk-throttle becomes properly hierarchical.
- *
- * - debug: disallowed on the default hierarchy.
*/
bool cgroup_on_dfl(const struct cgroup *cgrp)
{
--
2.27.0



2023-06-21 19:18:21

by Tejun Heo

[permalink] [raw]
Subject: Re: [PATCH] cgroup: remove obsolete comment on cgroup_on_dfl()

On Sat, Jun 17, 2023 at 03:48:09PM +0800, Miaohe Lin wrote:
> The debug feature is supported since commit 8cc38fa7fa31 ("cgroup: make
> debug an implicit controller on cgroup2"), update corresponding comment.
>
> Signed-off-by: Miaohe Lin <[email protected]>

Applied to cgroup/for-6.5.

thanks.

--
tejun