Re: [PATCH net-next v3 1/2] once: implement DO_ONCE_LITE for non-fast-path "do once" functionality

From
Steven Rostedt <rostedt@goodmis.org>
Date
2021-06-28 15:33:05
Also in
linux-arch, lkml
Reply to
Tanner Love, 2021-06-28
On Mon, 28 Jun 2021 09:50:06 -0400
Tanner Love [off-list ref] wrote:
Certain uses of "do once" functionality reside outside of fast path,
and so do not require jump label patching via static keys, making
existing DO_ONCE undesirable in such cases.

Replace uses of __section(".data.once") with DO_ONCE_LITE(_IF)?
I hate the name "_LITE" but can't come up with something better.

Maybe: DO_ONCE_SLOW() ??

Anyway, besides my bike-shedding comment above...

Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

-- Steve
Thread (6 messages) 6 messages, 4 authors, last reply 2021-06-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help