kernel_samsung_a53x/fs/proc
David Wang 0539cfcce0 proc/softirqs: replace seq_printf with seq_put_decimal_ull_width
[ Upstream commit 84b9749a3a704dcc824a88aa8267247c801d51e4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:23:58 +01:00
..
array.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
base.c Revert "proc: add config & param to block forcing mem writes" 2024-11-24 00:23:07 +01:00
bootconfig.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmdline.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
consoles.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpuinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
devices.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fd.c proc/fd: In fdinfo seq_show don't use get_files_struct 2024-11-19 12:27:28 +01:00
fd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fslog.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
generic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
internal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
interrupts.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kcore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kmsg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
loadavg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
meminfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
namespaces.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nommu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
page.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
proc_net.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
proc_sysctl.c sysctl: always initialize i_uid/i_gid 2024-11-23 23:20:19 +01:00
proc_tty.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
root.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
self.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
softirqs.c proc/softirqs: replace seq_printf with seq_put_decimal_ull_width 2024-12-17 13:23:58 +01:00
stat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
task_mmu.c fs/proc/task_mmu: indicate PM_FILE for PMD-mapped file THP 2024-11-23 23:20:11 +01:00
task_nommu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
thread_self.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uptime.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
util.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
version.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmcore.c fs/proc: fix compile warning about variable 'vmcore_mmap_ops' 2024-11-30 02:33:26 +01:00