Thread (12 messages) read the whole thread 12 messages, 2 authors, 2026-01-09

Re: [PATCH] ring-buffer: Use a housekeeping CPU to wake up waiters

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2026-01-09 16:14:44
Also in: linux-rt-devel, lkml

On Fri, 9 Jan 2026 09:57:56 +0100
Petr Tesarik [off-list ref] wrote:
I have removed both "inline" and "noinline" in v2, leaving it at the
discretion of the compiler. If you believe it deserves a "noinline",
feel free to add it. FWIW on x86-64, I didn't observe any measurable
diference either in latency or instruction cache footprint.
Please add the noinline. I went through and added strategic "noinline" and
"__always_inline", as well as placing "likely()" and "unlikely()" and
dropped the cost of adding an event from just under 300ns down to less than
150ns.

This code is called during function tracing (hit at every function call),
and yes, every little bit helps!

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help