cgroup/cpuset: Update comment on callback_lock
Since commit 51ffe41178
("cpuset: convert away from cftype->read()"),
cpuset_common_file_read() has been renamed.
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
d9fc6b4220
commit
0ac380020c
@ -434,7 +434,7 @@ static struct cpuset top_cpuset = {
|
|||||||
* by other task, we use alloc_lock in the task_struct fields to protect
|
* by other task, we use alloc_lock in the task_struct fields to protect
|
||||||
* them.
|
* 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
|
* small pieces of code, such as when reading out possibly multi-word
|
||||||
* cpumasks and nodemasks.
|
* cpumasks and nodemasks.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user