aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorWaiman Long <[email protected]>2022-02-03 03:31:03 +0000
committerTejun Heo <[email protected]>2022-02-03 15:59:01 +0000
commit2bdfd2825c9662463371e6691b1a794e97fa36b4 (patch)
treec677349e0e219e802f1c94ad20b75b9aca42a2c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentcgroup-v1: Require capabilities to set release_agent (diff)
downloadkernel-2bdfd2825c9662463371e6691b1a794e97fa36b4.tar.gz
kernel-2bdfd2825c9662463371e6691b1a794e97fa36b4.zip
cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning
It was found that a "suspicious RCU usage" lockdep warning was issued with the rcu_read_lock() call in update_sibling_cpumasks(). It is because the update_cpumasks_hier() function may sleep. So we have to release the RCU lock, call update_cpumasks_hier() and reacquire it afterward. Also add a percpu_rwsem_assert_held() in update_sibling_cpumasks() instead of stating that in the comment. Fixes: 4716909cc5c5 ("cpuset: Track cpusets that use parent's effective_cpus") Signed-off-by: Waiman Long <[email protected]> Tested-by: Phil Auld <[email protected]> Reviewed-by: Phil Auld <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions