Message ID | 20200415181941.11653-38-paulmck@kernel.org |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 7dd7a17..573fd78 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -876,7 +876,7 @@ static __always_inline void rcu_nmi_enter_common(bool irq) rcu_cleanup_after_idle(); incby = 1; - } else if (tick_nohz_full_cpu(rdp->cpu) && + } else if (irq && tick_nohz_full_cpu(rdp->cpu) && rdp->dynticks_nmi_nesting == DYNTICK_IRQ_NONIDLE && READ_ONCE(rdp->rcu_urgent_qs) && !READ_ONCE(rdp->rcu_forced_tick)) {