diff options
author | Peter Zijlstra <peterz@infradead.org> | 2024-09-02 10:14:24 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-09-04 18:22:56 +0200 |
commit | 2ab9d830262c132ab5db2f571003d80850d56b2a (patch) | |
tree | 0bd610077e7431521aa80a29feb6128934c88eea /fs/autofs/dev-ioctl.c | |
parent | e240b0fde52f33670d1336697c22d90a4fe33c84 (diff) |
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 <ole@binarygecko.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/autofs/dev-ioctl.c')
0 files changed, 0 insertions, 0 deletions