Commit 5b881c1f authored by David Wang's avatar David Wang Committed by Michael Ellerman
Browse files

powerpc/irq: use seq_put_decimal_ull_width() for decimal values



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.

Signed-off-by: default avatarDavid Wang <00107082@163.com>
[mpe: Flesh out change log based on original submission]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/all/20241103080552.4787-1-00107082@163.com
Link: https://patch.msgid.link/20241108162327.9887-1-00107082@163.com
parent 44e5d21e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment