Re: [patch v2 04/14] x86/irq: Make irqstats array based
From: Florian Fainelli
Date: Wed Mar 25 2026 - 18:54:34 EST
On 3/25/26 15:52, Thomas Gleixner wrote:
On Wed, Mar 25 2026 at 15:20, Radu Rendec wrote:
On Tue, 2026-03-24 at 16:32 -0400, Radu Rendec wrote:
I tested it, and it's very close but requires a few extra changes,
which I included as a patch at the bottom.
All of this is overly complicated. That can directly use the
irq_stat_info array and therefore stays always in sync without ever
touching that python nightmare again.
Replacement patch below (works only after 5/14 obviously).
There's one more gotcha: in the next patch (patch 5) you rename nr_irqs
to total_nr_irqs, and the change must be applied to interrupts.py as
well. It's used at the beginning of the LxInterruptList.invoke()
function.
Sigh, yes. This GDB python insanity is a pain, debugging it even more so.
All matter of perspective but kudos to you for trying to fix it, that is much appreciated.
--
Florian