All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] NOHZ tick-stop error: local softirq work is pending
@ 2026-08-29 18:14 Michal Pecio
  2026-08-30  5:56 ` Thomas Gleixner
  0 siblings, 1 reply; 9+ messages in thread
From: Michal Pecio @ 2026-08-29 18:14 UTC (permalink / raw)
  To: Anna-Maria Behnsen, Frederic Weisbecker, Ingo Molnar,
	Thomas Gleixner
  Cc: linux-kernel

Hi,

I'm getting these warnings on current mainline. Quite reliable trigger
is I/O load (like md5sum /dev/sda) on an otherwise idle system:

[   86.082138] NOHZ tick-stop error: local softirq work is pending, handler #40!!!
[  117.959975] NOHZ tick-stop error: local softirq work is pending, handler #40!!!
[  121.054544] NOHZ tick-stop error: local softirq work is pending, handler #40!!!
[  121.988208] NOHZ tick-stop error: local softirq work is pending, handler #40!!!
[  143.932445] NOHZ tick-stop error: local softirq work is pending, handler #40!!!
[  156.083120] NOHZ tick-stop error: local softirq work is pending, handler #40!!!
[  156.685222] NOHZ tick-stop error: local softirq work is pending, handler #40!!!
[  156.789911] NOHZ tick-stop error: local softirq work is pending, handler #40!!!
[  158.986070] NOHZ tick-stop error: local softirq work is pending, handler #40!!!

I see it consistently across several reboots. I also did two v7.2
boots with the same workload and these ran cleanly 10 minutes each,
so it looks like a merge window regression.

The system is ordinary x86-64 with CONFIG_PREEMPT.

grep HZ .config: 

CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
# CONFIG_NO_HZ is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000

It seems bisectable, but maybe somebody has better ideas?

Regards,
Michal


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [BUG] NOHZ tick-stop error: local softirq work is pending
@ 2023-09-10  2:28 Joel Fernandes
  2023-09-10 10:21 ` Paul E. McKenney
  0 siblings, 1 reply; 9+ messages in thread
From: Joel Fernandes @ 2023-09-10  2:28 UTC (permalink / raw)
  To: Frederic Weisbecker, Paul E. McKenney; +Cc: rcu

Hi Paul, Frederic, ever since this recent patch got merged into all
recent stables:
https://lore.kernel.org/all/20230818200757.1808398-1-paul.gortmaker@windriver.com/
 ..

.. I am seeing this happen a lot now causing rcutorture failures:
"NOHZ tick-stop error: local softirq work is pending"

It looks like the "tick-stop error" as local_bh_blocked always returns
false on !PREEMPT_RT, so that patch itself seems correct.

However, it appears the string in console-badness.sh is different:

console-badness.sh:grep -v 'NOHZ tick-stop error: Non-RCU local
softirq work is pending, handler'

So the string in the script needs an update?

Also, considering that it is being grep -v'ed out, any background on
why this message is not bad and any history? Why is softirq work
pending when the tick is stopped?

thanks,

 - Joel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-08-30  8:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-29 18:14 [BUG] NOHZ tick-stop error: local softirq work is pending Michal Pecio
2026-08-30  5:56 ` Thomas Gleixner
2026-08-30  8:35   ` Michal Pecio
  -- strict thread matches above, loose matches on Subject: below --
2023-09-10  2:28 Joel Fernandes
2023-09-10 10:21 ` Paul E. McKenney
2023-09-10 20:25   ` Frederic Weisbecker
2023-09-10 21:48     ` Paul E. McKenney
2023-09-10 23:02     ` Joel Fernandes
2023-09-11 21:23       ` Frederic Weisbecker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.