aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorDavid Wang <[email protected]>2024-11-09 00:07:17 +0800
committerThomas Gleixner <[email protected]>2024-11-13 17:36:35 +0100
commitf9ed1f7c2e26fcd19781774e310a6236d7525c11 (patch)
tree55310f85d20098f0714ae331d05f207583339e87 /rust/helpers/task.c
parent49a17639508c3b35f90ca829e60dddeeeb750e74 (diff)
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 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions