Commit ad2a05a6 authored by David Wang's avatar David Wang Committed by Huacai Chen
Browse files

LoongArch/irq: Use seq_put_decimal_ull_width() for decimal values



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).

Signed-off-by: default avatarDavid Wang <00107082@163.com>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 55dc2f8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment