Re: On trace_*_rcuidle functions in modules

From: Peter Zijlstra
Date: Wed Apr 15 2020 - 18:42:39 EST


On Wed, Apr 15, 2020 at 03:04:59PM -0700, Paul E. McKenney wrote:
>
> My guess is that invoking rcu_irq_enter() and rcu_irq_exit() around every
> potential call into module code out of the PM code is a non-starter,
> but I cannot prove that either way.

Isn't that exactly what cpu_pm_notify() is doing?