Re: [PATCH] tracing/osnoise: Force quiescent states while tracing

From: Paul E. McKenney
Date: Fri Mar 04 2022 - 11:26:53 EST


On Fri, Mar 04, 2022 at 04:55:06PM +0100, Nicolas Saenz Julienne wrote:
> On Fri, 2022-03-04 at 16:37 +0100, Daniel Bristot de Oliveira wrote:
> > On 3/4/22 16:28, Nicolas Saenz Julienne wrote:
> > > Some comments:
> > > - You're not exiting/entering EQS on IRQ/NMI entry/exit. See
> > > irqentry_{enter,exit}() and irqentry_nmi_{enter,exit}().
> >
> > hummm, right!
> >
> > > - See this series[1], if we ever pursue this approach, it's important we got
> > > through context tracking, instead of poking at RCU directly.
> >
> > I had a test patch with context_tracking as well... entering and leaving using
> > it. Lemme find it.... but it basically works in the same way as for RCU (or
> > pretend to work).
>
> Yes, agree, it's fundamentally the same.

And there is work in flight to make it even more the same. ;-)

https://lore.kernel.org/all/20220302154810.42308-1-frederic@xxxxxxxxxx/

Thanx, Paul