Re: [patch V6 12/37] x86/entry: Provide idtentry_entry/exit_cond_rcu()

From: Paul E. McKenney
Date: Thu May 21 2020 - 15:04:15 EST


On Thu, May 21, 2020 at 08:41:11PM +0200, Thomas Gleixner wrote:
> "Paul E. McKenney" <paulmck@xxxxxxxxxx> writes:
> > On Thu, May 21, 2020 at 10:31:11AM +0200, Thomas Gleixner wrote:
> >> And I made this a NOP for for !NOHZ_FULL systems and avoided the call if
> >> context tracking is not enabled at boot.
> >>
> >> void __rcu_irq_enter_check_tick(void);
> >>
> >> static inline void rcu_irq_enter_check_tick(void)
> >> {
> >> if (context_tracking_enabled())
> >> __rcu_irq_enter_check_tick();
> >> }
> >
> > That certainly is a better approach!
> >
> > So let's go with your version. But could you please post it, just in
> > case reviewing an alternative version causes me to spot something?
>
> I'm just testing the complete rework of this series and will post it if
> it survives smoke testing.

Fair enough!

Thanx, Paul