aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2024-09-02 08:14:24 +0000
committerIngo Molnar <[email protected]>2024-09-04 16:22:56 +0000
commit2ab9d830262c132ab5db2f571003d80850d56b2a (patch)
tree0bd610077e7431521aa80a29feb6128934c88eea /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentuprobes: Use kzalloc to allocate xol area (diff)
downloadkernel-2ab9d830262c132ab5db2f571003d80850d56b2a.tar.gz
kernel-2ab9d830262c132ab5db2f571003d80850d56b2a.zip
perf/aux: Fix AUX buffer serialization
Ole reported that event->mmap_mutex is strictly insufficient to serialize the AUX buffer, add a per RB mutex to fully serialize it. Note that in the lock order comment the perf_event::mmap_mutex order was already wrong, that is, it nesting under mmap_lock is not new with this patch. Fixes: 45bfb2e50471 ("perf: Add AUX area to ring buffer for raw data streams") Reported-by: Ole <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions