[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87qzssi8rq.fsf@yellow.woof>
Date: Thu, 18 Dec 2025 13:50:01 +0700
From: Nam Cao <namcao@...utronix.de>
To: Gabriele Monaco <gmonaco@...hat.com>, linux-kernel@...r.kernel.org,
Steven Rostedt <rostedt@...dmis.org>, Gabriele Monaco
<gmonaco@...hat.com>, Jonathan Corbet <corbet@....net>, Masami Hiramatsu
<mhiramat@...nel.org>, linux-trace-kernel@...r.kernel.org,
linux-doc@...r.kernel.org
Cc: Tomas Glozar <tglozar@...hat.com>, Juri Lelli <jlelli@...hat.com>, Clark
Williams <williams@...hat.com>, John Kacur <jkacur@...hat.com>
Subject: Re: [PATCH v3 07/13] rv: Convert the opid monitor to a hybrid
automaton
Gabriele Monaco <gmonaco@...hat.com> writes:
> The opid monitor validates that wakeup and need_resched events only
> occur with interrupts and preemption disabled by following the
> preemptirq tracepoints.
> As reported in [1], those tracepoints might be inaccurate in some
> situations (e.g. NMIs).
>
> Since the monitor doesn't validate other ordering properties, remove the
> dependency on preemptirq tracepoints and convert the monitor to a hybrid
> automaton to validate the constraint during event handling.
> This makes the monitor more robust by also removing the workaround for
> interrupts missing the preemption tracepoints, which was working on
> PREEMPT_RT only and allows the monitor to be built on kernels without
> the preemptirqs tracepoints.
>
> [1] - https://lore.kernel.org/lkml/20250625120823.60600-1-gmonaco@redhat.com
>
> Signed-off-by: Gabriele Monaco <gmonaco@...hat.com>
Reviewed-by: Nam Cao <namcao@...utronix.de>
Powered by blists - more mailing lists