Re: [PATCH v3 10/13] rv: Use 0 to check preemption enabled in opid
From: Nam Cao
Date: Mon Jun 01 2026 - 03:56:50 EST
Gabriele Monaco <gmonaco@xxxxxxxxxx> writes:
> Tracepoint handlers no longer run with preemption disabled by default
> since a46023d5616 ("tracing: Guard __DECLARE_TRACE() use of
> __DO_TRACE_CALL() with SRCU-fast"), the opid monitor should now count 1
> in the preemption count as preemption disabled.
>
> Change the rule for preempt_off to preempt > 0.
>
> Signed-off-by: Gabriele Monaco <gmonaco@xxxxxxxxxx>
Reviewed-by: Nam Cao <namcao@xxxxxxxxxxxxx>