From: Michal Pecio <michal.pecio@gmail.com>
To: Thomas Gleixner <tglx@kernel.org>
Cc: Anna-Maria Behnsen <anna-maria@linutronix.de>,
Frederic Weisbecker <frederic@kernel.org>,
Ingo Molnar <mingo@kernel.org>,
linux-kernel@vger.kernel.org, Boqun Feng <boqun@kernel.org>
Subject: Re: [BUG] NOHZ tick-stop error: local softirq work is pending
Date: Sun, 30 Aug 2026 10:35:46 +0200 [thread overview]
Message-ID: <20260830103532.544eb946.michal.pecio@gmail.com> (raw)
In-Reply-To: <875x0sduce.ffs@fw13>
On Sun, 30 Aug 2026 07:56:49 +0200, Thomas Gleixner wrote:
> On Sat, Aug 29 2026 at 20:14, Michal Pecio wrote:
> > 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.
> >
> >
> > It seems bisectable, but maybe somebody has better ideas?
>
> It's likely the issue being discussed here:
>
> https://lore.kernel.org/lkml/20260824105523.GA4121620@noisy.programming.kicks-ass.net/
>
> There is a revert queued which probably will cure it for you unless
> you are using Rust drivers. Plus a fix for the remaining Rust
> specific issue is on the way.
Thank you, cherry picking 46094a7708b7 from tip solved this.
And no, I absolutely loathe this cargo cult and it saddens me to see
people's time and CPU cycles being wasted on converting the kernel to
idiomatic C++ with its arbitrary limitations.
Surely all those irq_disable counters in Linux data centers around the
world will have a carbon footprint, even if (hypothetically) they are
"free" on superscalar CPUs with branch prediction?
And all of that for the sake of potential bugs which may or may not
exist, and which look like they could be found (or proven absence of)
by static analysis if required, and because of an experiment 15 years
which showed that static analysis beats reference counting?
Could only be more ironic if Moore's law were approaching a wall and
energy costs were rising everywhere with no end in sight...
Have a nice Sunday everyone,
Michal
prev parent reply other threads:[~2026-08-30 8:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-29 18:14 Michal Pecio
2026-08-30 5:56 ` Thomas Gleixner
2026-08-30 8:35 ` Michal Pecio [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260830103532.544eb946.michal.pecio@gmail.com \
--to=michal.pecio@gmail.com \
--cc=anna-maria@linutronix.de \
--cc=boqun@kernel.org \
--cc=frederic@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®