diff options
author | 2024-12-02 16:42:08 +0800 | |
---|---|---|
committer | 2024-12-02 16:42:08 +0800 | |
commit | ad2a05a6d287aef7e069c06e329f1355756415c2 (patch) | |
tree | cd62576500f6ea54215be329cf7137a43ec86875 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | LoongArch: Fix reserving screen info memory for above-4G firmware (diff) | |
download | linux-rng-ad2a05a6d287aef7e069c06e329f1355756415c2.tar.xz linux-rng-ad2a05a6d287aef7e069c06e329f1355756415c2.zip |
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: David Wang <00107082@163.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions