diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2024-04-17 06:50:28 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-04-18 04:59:12 +0300 |
commit | a6b8daba00e6703b728933d2ec24e6d1ee5d5ec0 (patch) | |
tree | 042891b0ae6fe3069da9ca663713b6272a5640c3 /kernel/cgroup | |
parent | 97a46a66ad7d912638c5eefa1f567b4a4a5b58b8 (diff) | |
download | linux-a6b8daba00e6703b728933d2ec24e6d1ee5d5ec0.tar.xz |
cgroup_freezer: update comment for freezer_css_online()
The freezer->lock was replaced by freezer_mutex in commit e5ced8ebb10c
("cgroup_freezer: replace freezer->lock with freezer_mutex"), so the
comment here is out-of-date, update it.
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup')
-rw-r--r-- | kernel/cgroup/legacy_freezer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/cgroup/legacy_freezer.c b/kernel/cgroup/legacy_freezer.c index 66d1708042a7..d598cc6ee92e 100644 --- a/kernel/cgroup/legacy_freezer.c +++ b/kernel/cgroup/legacy_freezer.c @@ -106,8 +106,7 @@ freezer_css_alloc(struct cgroup_subsys_state *parent_css) * @css: css being created * * We're committing to creation of @css. Mark it online and inherit - * parent's freezing state while holding both parent's and our - * freezer->lock. + * parent's freezing state while holding cpus read lock and freezer_mutex. */ static int freezer_css_online(struct cgroup_subsys_state *css) { |