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

Steven Rostedt rostedt at goodmis.org
Fri Oct 15 10:35:04 PDT 2021

On Fri, 15 Oct 2021 18:17:02 +0200
Peter Zijlstra <peterz at infradead.org> wrote:

> On Fri, Oct 15, 2021 at 11:00:35AM -0400, Steven Rostedt wrote:
> > From: "Steven Rostedt (VMware)" <rostedt at 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

More information about the linux-riscv mailing list