diff options
| author | David Wang <[email protected]> | 2024-11-30 13:49:09 +0000 |
|---|---|---|
| committer | John Paul Adrian Glaubitz <[email protected]> | 2025-02-01 09:42:36 +0000 |
| commit | d2a5f10bf1f123f6d9a7fb4be4cd92f6e95c129d (patch) | |
| tree | b18a635d83ed98c815513a2f802f6dc545a6a7c5 /drivers/pci/controller/dwc | |
| parent | Linux 6.13-rc1 (diff) | |
| download | kernel-d2a5f10bf1f123f6d9a7fb4be4cd92f6e95c129d.tar.gz kernel-d2a5f10bf1f123f6d9a7fb4be4cd92f6e95c129d.zip | |
sh: 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 has significant costs
parsing format string and is less efficient than seq_put_decimal_ull_width().
Stress reading /proc/interrupts indicates ~30% performance improvement with
this patch.
Signed-off-by: David Wang <[email protected]>
Reviewed-by: John Paul Adrian Glaubitz <[email protected]>
Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions
