[RFC][PATCH v3 09/16] genirq/irqdesc: Have nr_irqs as non-static

Thomas Gleixner tglx at linutronix.de
Tue Sep 16 14:10:21 PDT 2025


On Fri, Sep 12 2025 at 18:08, Eugen Hristev wrote:
> nr_irqs is required for debugging the kernel, and needs to be
> accessible for kmemdump into vmcoreinfo.

That's a patently bad idea.

Care to grep how many instances of 'nr_irqs' variables are in the
kernel?

That name is way too generic to be made global.

Thanks,

        tglx



More information about the linux-arm-kernel mailing list