diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2025-05-27 12:20:09 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2025-05-29 08:24:08 -0400 |
commit | 60bc720e10eac397b3adae975095df77bc368b88 (patch) | |
tree | 8f00f26a733af832c1924dd232bb235b8e1d762b /scripts/lib/kdoc/kdoc_output.py | |
parent | b2e7c6ed26e90fab1e5e626071e54e3b9ec9cb5a (diff) |
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 <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Vincent Donnefort <vdonnefort@google.com>
Link: https://lore.kernel.org/20250527122009.267efb72@gandalf.local.home
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions