diff options
| author | Peter Zijlstra <[email protected]> | 2024-09-02 08:14:24 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2024-09-04 16:22:56 +0000 |
| commit | 2ab9d830262c132ab5db2f571003d80850d56b2a (patch) | |
| tree | 0bd610077e7431521aa80a29feb6128934c88eea /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | uprobes: Use kzalloc to allocate xol area (diff) | |
| download | kernel-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
