kernel/kernel/time/tick-sched.c
.. .. @@ -927,7 +927,7 @@ 927 927 if (unlikely(local_softirq_pending())) { 928 928 static int ratelimit; 929 929 930 - if (ratelimit < 10 && !local_bh_blocked() &&930 + if (ratelimit < 10 &&931 931 (local_softirq_pending() & SOFTIRQ_STOP_IDLE_MASK)) { 932 932 pr_warn("NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #%02x!!!\n", 933 933 (unsigned int) local_softirq_pending());