diff options
| author | Tetsuo Handa <[email protected]> | 2022-08-25 17:38:38 +0900 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2022-08-25 07:36:30 -1000 |
| commit | 43626dade36fa74d3329046f4ae2d7fdefe401c6 (patch) | |
| tree | 06f2784c54257714e1576003999fae747af04df7 /Documentation/filesystems/caching/backend-api.rst | |
| parent | 763f4fb76e24959c370cdaa889b2492ba6175580 (diff) | |
cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
syzbot is hitting percpu_rwsem_assert_held(&cpu_hotplug_lock) warning at
cpuset_attach() [1], for commit 4f7e7236435ca0ab ("cgroup: Fix
threadgroup_rwsem <-> cpus_read_lock() deadlock") missed that
cpuset_attach() is also called from cgroup_attach_task_all().
Add cpus_read_lock() like what cgroup_procs_write_start() does.
Link: https://syzkaller.appspot.com/bug?extid=29d3a3b4d86c8136ad9e [1]
Reported-by: syzbot <[email protected]>
Signed-off-by: Tetsuo Handa <[email protected]>
Fixes: 4f7e7236435ca0ab ("cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock")
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/backend-api.rst')
0 files changed, 0 insertions, 0 deletions