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

- From: Steven Rostedt \<rostedt@goodmis.org\>
- Date: 2021-10-15 17:35:27 
- List: live-patching
- Page: https://ratatoskr.run/live-patching/2021/10/1543717
- Thread: https://ratatoskr.run/linuxppc-dev/2021/10/1543513/t.md

```text
On Fri, 15 Oct 2021 18:17:02 +0200
Peter Zijlstra [ref] wrote:

> On Fri, Oct 15, 2021 at 11:00:35AM -0400, Steven Rostedt wrote:
> > From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
> > 
> > While writing an email explaining the "bit = 0" logic for a discussion on  
> 
> >  	bit = trace_get_context_bit() + start;  
> 
> While there, you were also going to update that function to match/use
> get_recursion_context(). Because your version is still branch hell.

That would probably be a separate patch. This is just a fix to a design
flaw, changing the context tests would be performance enhancement.

Thanks for the reminder (as it was on my todo list to update that code).

-- Steve
```
