2024-04-18 12:51:12

by Xiu Jianfeng

[permalink] [raw]
Subject: [PATCH -next] cgroup, legacy_freezer: update comment for freezer_css_offline()

After commit f5d39b020809 ("freezer,sched: Rewrite core freezer logic"),
system_freezing_count was replaced by freezer_active.

Signed-off-by: Xiu Jianfeng <[email protected]>
---
kernel/cgroup/legacy_freezer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cgroup/legacy_freezer.c b/kernel/cgroup/legacy_freezer.c
index 66d1708042a7..afbf7f8a86c0 100644
--- a/kernel/cgroup/legacy_freezer.c
+++ b/kernel/cgroup/legacy_freezer.c
@@ -133,7 +133,7 @@ static int freezer_css_online(struct cgroup_subsys_state *css)
* freezer_css_offline - initiate destruction of a freezer css
* @css: css being destroyed
*
- * @css is going away. Mark it dead and decrement system_freezing_count if
+ * @css is going away. Mark it dead and decrement freezer_active if
* it was holding one.
*/
static void freezer_css_offline(struct cgroup_subsys_state *css)
--
2.34.1



2024-04-18 16:16:11

by Tejun Heo

[permalink] [raw]
Subject: Re: [PATCH -next] cgroup, legacy_freezer: update comment for freezer_css_offline()

On Thu, Apr 18, 2024 at 12:43:49PM +0000, Xiu Jianfeng wrote:
> After commit f5d39b020809 ("freezer,sched: Rewrite core freezer logic"),
> system_freezing_count was replaced by freezer_active.
>
> Signed-off-by: Xiu Jianfeng <[email protected]>

Applied to cgroup/for-6.10.

Thanks.

--
tejun