aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2020-10-27 12:48:34 +0000
committerPeter Zijlstra <[email protected]>2020-10-30 16:07:18 +0000
commit1a39340865ce505a029b37aeb47a3e4c8db5f6c6 (patch)
tree54c08eab491b2b6ded61b910db833389ff6a4679 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentlocking/lockdep: Remove more raw_cpu_read() usage (diff)
downloadkernel-1a39340865ce505a029b37aeb47a3e4c8db5f6c6.tar.gz
kernel-1a39340865ce505a029b37aeb47a3e4c8db5f6c6.zip
lockdep: Fix nr_unused_locks accounting
Chris reported that commit 24d5a3bffef1 ("lockdep: Fix usage_traceoverflow") breaks the nr_unused_locks validation code triggered by /proc/lockdep_stats. By fully splitting LOCK_USED and LOCK_USED_READ it becomes a bad indicator for accounting nr_unused_locks; simplyfy by using any first bit. Fixes: 24d5a3bffef1 ("lockdep: Fix usage_traceoverflow") Reported-by: Chris Wilson <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Tested-by: Chris Wilson <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions