On Wed, Aug 13, 2014 at 07:43:32AM -0700, Paul E. McKenney wrote: > So the first three look OK to hook rcu_idle_enter() and rcu_idle_exit() > into, but the last two don't look so good. > > That said, if you are OK not tracing the stuff under stop_critical_timings(), > then I can use the RCU dyntick-idle state and not wake anything up.
Either way, Steve could easily whip up a debug thing that could validate that. Simply WARN whenever an __mcount happens when under rcu_idle. And if we make these idle functions small enough that should not be a problem at all.
pgp7BMLZ3A6nY.pgp
Description: PGP signature