Re: [PATCH] tracing: Have all levels of checks prevent recursion

From
Jakub Kicinski <kuba@kernel.org>
Date
2023-07-22 01:22:42
Also in
linux-riscv, linuxppc-dev, lkml
Reply to
Steven Rostedt, 2023-07-21
On Fri, 21 Jul 2023 12:26:32 -0400 Steven Rostedt wrote:
quoted
if (!(in_hardirq() || irqs_disabled()))
  
Yeah, probably.
quoted
, nothing more elegant / already existing / ...?  
It's not a common check. What would you call that?
Looks like Olek started the weekend already so let me answer.
He's trying to check if we can use a fast path cache which takes
a _bh spin lock.
Thread (20 messages) 20 messages, 5 authors, last reply 2023-07-22
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