[PATCH -next] cgroup/cpuset: Update comment on callback_lock

Xiu Jianfeng posted 1 patch 1 year, 8 months ago
kernel/cgroup/cpuset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH -next] cgroup/cpuset: Update comment on callback_lock
Posted by Xiu Jianfeng 1 year, 8 months ago
Since commit 51ffe41178c4 ("cpuset: convert away from cftype->read()"),
cpuset_common_file_read() has been renamed.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
---
 kernel/cgroup/cpuset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
index a553e3d46498..f9d2a3487645 100644
--- a/kernel/cgroup/cpuset.c
+++ b/kernel/cgroup/cpuset.c
@@ -434,7 +434,7 @@ static struct cpuset top_cpuset = {
  * by other task, we use alloc_lock in the task_struct fields to protect
  * them.
  *
- * The cpuset_common_file_read() handlers only hold callback_lock across
+ * The cpuset_common_seq_show() handlers only hold callback_lock across
  * small pieces of code, such as when reading out possibly multi-word
  * cpumasks and nodemasks.
  *
-- 
2.34.1
Re: [PATCH -next] cgroup/cpuset: Update comment on callback_lock
Posted by Tejun Heo 1 year, 8 months ago
On Sat, May 25, 2024 at 09:45:02AM +0000, Xiu Jianfeng wrote:
> Since commit 51ffe41178c4 ("cpuset: convert away from cftype->read()"),
> cpuset_common_file_read() has been renamed.
> 
> Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>

Applied to cgroup/for-6.11.

Thanks.

-- 
tejun