diff options
| author | Steven Rostedt <[email protected]> | 2025-05-27 16:20:09 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-05-29 12:24:08 +0000 |
| commit | 60bc720e10eac397b3adae975095df77bc368b88 (patch) | |
| tree | 8f00f26a733af832c1924dd232bb235b8e1d762b /rust/helpers/platform.c | |
| parent | ring-buffer: Simplify ring_buffer_read_page() with guard() (diff) | |
| download | kernel-60bc720e10eac397b3adae975095df77bc368b88.tar.gz kernel-60bc720e10eac397b3adae975095df77bc368b88.zip | |
ring-buffer: Make ring_buffer_{un}map() simpler with guard(mutex)
Convert the taking of the buffer->mutex and the cpu_buffer->mapping_lock
over to guard(mutex) and simplify the ring_buffer_map() and
ring_buffer_unmap() functions.
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Vincent Donnefort <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
