Re: On trace_*_rcuidle functions in modules

From: Paul E. McKenney
Date: Wed Apr 15 2020 - 18:53:40 EST


On Thu, Apr 16, 2020 at 12:42:14AM +0200, Peter Zijlstra wrote:
> 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?

Right you are! Problem solved, then?

Thanx, Paul