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

From: Steven Rostedt
Date: Fri Oct 15 2021 - 13:35:27 EST


On Fri, 15 Oct 2021 18:17:02 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

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