Files
linux/fs/proc
David Wang 84b9749a3a proc/softirqs: replace seq_printf with seq_put_decimal_ull_width
seq_printf is costy, on a system with n CPUs, reading /proc/softirqs
would yield 10*n decimal values, and the extra cost parsing format string
grows linearly with number of cpus. Replace seq_printf with
seq_put_decimal_ull_width have significant performance improvement.
On an 8CPUs system, reading /proc/softirqs show ~40% performance
gain with this patch.

Signed-off-by: David Wang <00107082@163.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2024-11-07 07:40:14 -10:00
..
2022-10-03 14:21:45 -07:00
2024-10-18 13:02:47 +02:00
2023-01-19 09:24:28 +01:00
2024-09-17 01:11:20 -07:00
2022-10-03 14:21:45 -07:00
2024-09-03 21:15:46 -07:00
2023-04-18 16:39:33 -07:00
2022-10-03 14:21:45 -07:00
2022-10-03 14:21:45 -07:00