linux-stable/fs
David Wang affd04aaef proc/softirqs: replace seq_printf with seq_put_decimal_ull_width
[ Upstream commit 84b9749a3a ]

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-14 19:50:41 +01:00
..
9p
adfs
affs
afs
autofs
befs
bfs
btrfs btrfs: reinitialize delayed ref list after deleting it from the list 2024-11-14 13:13:40 +01:00
cachefiles
ceph
cifs smb: client: fix OOBs when building SMB2_IOCTL request 2024-11-01 01:52:34 +01:00
coda
configfs
cramfs
crypto
debugfs
devpts
dlm
ecryptfs
efivarfs
efs
erofs
exfat
exportfs
ext2
ext4 ext4: fix warning in ext4_dio_write_end_io() 2024-10-17 15:12:02 +02:00
f2fs
fat fat: fix uninitialized variable 2024-10-22 15:40:40 +02:00
freevxfs
fscache
fuse
gfs2
hfs
hfsplus
hostfs
hpfs
hugetlbfs
iomap
isofs
jbd2
jffs2
jfs jfs: Fix sanity check in dbMount 2024-11-01 01:52:36 +01:00
kernfs
ksmbd ksmbd: fix user-after-free from session log off 2024-11-08 16:25:51 +01:00
lockd
minix
netfs
nfs NFS: nfs_async_write_reschedule_io must not recurse into the writeback code 2024-12-14 19:50:38 +01:00
nfs_common
nfsd NFSD: Never decrement pending_async_copies on error 2024-12-14 19:50:37 +01:00
nilfs2 nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint 2024-12-14 19:50:36 +01:00
nls
notify
ntfs
ntfs3 fs/ntfs3: Additional check in ni_clear() 2024-11-08 16:25:53 +01:00
ocfs2 ocfs2: fix UBSAN warning in ocfs2_verify_volume() 2024-12-14 19:50:36 +01:00
omfs
openpromfs
orangefs
overlayfs ovl: Filter invalid inodes with missing lookup function 2024-12-14 19:50:33 +01:00
proc proc/softirqs: replace seq_printf with seq_put_decimal_ull_width 2024-12-14 19:50:41 +01:00
pstore
qnx4
qnx6
quota
ramfs
reiserfs
romfs
smbfs_common
squashfs
sysfs
sysv
tracefs
ubifs
udf udf: Avoid directory type conversion failure due to ENOMEM 2024-11-17 15:06:26 +01:00
ufs
unicode
vboxsf
verity
xfs
zonefs
aio.c
anon_inodes.c
attr.c
bad_inode.c
binfmt_aout.c
binfmt_elf_fdpic.c
binfmt_elf.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
buffer.c
char_dev.c
compat_binfmt_elf.c
coredump.c
d_path.c
dax.c
dcache.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c
exec.c exec: don't WARN for racy path_noexec check 2024-11-01 01:52:35 +01:00
fcntl.c
fhandle.c
file_table.c
file.c
filesystems.c
fs_context.c
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fs-writeback.c
fsopen.c
init.c
inode.c
internal.h
ioctl.c
Kconfig
Kconfig.binfmt
kernel_read_file.c
libfs.c
locks.c
Makefile
mbcache.c
mount.h
mpage.c
namei.c
namespace.c
no-block.c
nsfs.c
open.c openat2: explicitly return -E2BIG for (usize > PAGE_SIZE) 2024-11-01 01:52:37 +01:00
pipe.c
pnode.c
pnode.h
posix_acl.c
proc_namespace.c
read_write.c
readdir.c
remap_range.c
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
statfs.c
super.c
sync.c
timerfd.c
userfaultfd.c
utimes.c
xattr.c