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

From: Nicolas Saenz Julienne
Date: Fri Mar 04 2022 - 10:55:14 EST


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.

--
Nicolás Sáenz