Re: [PATCH AUTOSEL 6.12 18/36] LoongArch/irq: Use seq_put_decimal_ull_width() for decimal values

From: Thomas Gleixner
Date: Wed Dec 11 2024 - 14:21:11 EST


On Wed, Dec 11 2024 at 13:49, Sasha Levin wrote:
> From: David Wang <00107082@xxxxxxx>
>
> [ Upstream commit ad2a05a6d287aef7e069c06e329f1355756415c2 ]
>
> Performance improvement for reading /proc/interrupts on LoongArch.
>
> On a system with n CPUs and m interrupts, there will be n*m decimal
> values yielded via seq_printf(.."%10u "..) which is less efficient than
> seq_put_decimal_ull_width(), stress reading /proc/interrupts indicates
> ~30% performance improvement with this patch (and its friends).

Why is this stable material?

Thanks,

tglx