diff options
| author | David Wang <[email protected]> | 2024-11-08 16:07:17 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-11-13 16:36:35 +0000 |
| commit | f9ed1f7c2e26fcd19781774e310a6236d7525c11 (patch) | |
| tree | 55310f85d20098f0714ae331d05f207583339e87 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | softirq: Use a dedicated thread for timer wakeups on PREEMPT_RT. (diff) | |
| download | kernel-f9ed1f7c2e26fcd19781774e310a6236d7525c11.tar.gz kernel-f9ed1f7c2e26fcd19781774e310a6236d7525c11.zip | |
genirq/proc: Use seq_put_decimal_ull_width() for decimal values
seq_printf() is more expensive than seq_put_decimal_ull_width() due to the
format string parsing costs.
Profiling on a x86 8-core system indicates seq_printf() takes ~47% samples
of show_interrupts(). Replacing it with seq_put_decimal_ull_width() yields
almost 30% performance gain.
[ tglx: Massaged changelog and fixed up coding style ]
Signed-off-by: David Wang <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
