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

- From: Jakub Kicinski \<kuba@kernel.org\>
- Date: 2023-07-22 01:22:42 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2023/07/2274802
- Thread: https://ratatoskr.run/linuxppc-dev/2021/10/1543513/t.md

```text
On Fri, 21 Jul 2023 12:26:32 -0400 Steven Rostedt wrote:
> > if (!(in_hardirq() || irqs_disabled()))
> >   
> 
> Yeah, probably.
> 
> > , 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.
```
