[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230228175929.7534-1-ubizjak@gmail.com>
Date: Tue, 28 Feb 2023 18:59:26 +0100
From: Uros Bizjak <ubizjak@...il.com>
To: linux-trace-kernel@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Uros Bizjak <ubizjak@...il.com>,
Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>
Subject: [PATCH 0/3] Improve trace/ring_buffer.c
This series improves ring_buffer.c by changing the type of some
static functions to void or bool and uses try_cmpxchg instead of
cmpxchg (*ptr, old, new) == old where appropriate.
Cc: Steven Rostedt <rostedt@...dmis.org>
Cc: Masami Hiramatsu <mhiramat@...nel.org>
Uros Bizjak (3):
ring_buffer: Change some static functions to void
ring_buffer: Change some static functions to bool
ring_buffer: Use try_cmpxchg instead of cmpxchg
kernel/trace/ring_buffer.c | 89 ++++++++++++++++----------------------
1 file changed, 37 insertions(+), 52 deletions(-)
--
2.39.2
Powered by blists - more mailing lists