linux-kernelorg-stable/fs
Matthew Wilcox (Oracle) ac0a11113d
xfs: Use folio_next_pos()
This is one instruction more efficient than open-coding folio_pos() +
folio_size().  It's the equivalent of (x + y) << z rather than
x << z + y << z.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://patch.msgid.link/20251024170822.1427218-10-willy@infradead.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Carlos Maiolino <cem@kernel.org>
Cc: linux-xfs@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-10-31 13:11:38 +01:00
..
9p Bunch of unrelated fixes 2025-10-09 11:56:59 -07:00
adfs
affs
afs Simplifying ->d_name audits, easy part. 2025-10-03 11:14:02 -07:00
autofs
befs
bfs
btrfs btrfs: Use folio_next_pos() 2025-10-31 13:11:37 +01:00
cachefiles VFS: unify old_mnt_idmap and new_mnt_idmap in renamedata 2025-09-23 12:37:35 +02:00
ceph Some messenger improvements from Eric and Max, a patch to address the 2025-10-10 11:30:19 -07:00
coda
configfs file->f_path constification 2025-10-03 16:32:36 -07:00
cramfs Patch series in this pull request: 2025-10-02 18:44:54 -07:00
crypto fscrypt updates for 6.18 2025-09-29 15:33:50 -07:00
debugfs vfs-6.18-rc1.async 2025-09-29 11:55:15 -07:00
devpts
dlm dlm for 6.18 2025-09-29 15:24:58 -07:00
ecryptfs mount-related stuff for this cycle 2025-10-03 10:19:44 -07:00
efivarfs vfs-6.18-rc1.misc 2025-09-29 09:03:07 -07:00
efs
erofs erofs: drop redundant sanity check for ztailpacking inline 2025-09-25 11:26:39 +08:00
exfat Description for this pull request: 2025-10-03 14:02:53 -07:00
exportfs
ext2
ext4 ext4: Use folio_next_pos() 2025-10-31 13:11:37 +01:00
f2fs f2fs: Use folio_next_pos() 2025-10-31 13:11:38 +01:00
fat
freevxfs
fuse fuse update for 6.18 2025-10-03 12:48:18 -07:00
gfs2 gfs2: Use folio_next_pos() 2025-10-31 13:11:38 +01:00
hfs hfs/hfsplus: rework debug output subsystem 2025-09-24 16:30:34 -07:00
hfsplus hfs/hfsplus: rework debug output subsystem 2025-09-24 16:30:34 -07:00
hostfs
hpfs - Avoid -Wflex-array-member-not-at-end warnings 2025-10-10 14:06:02 -07:00
hugetlbfs Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
iomap iomap: Use folio_next_pos() 2025-10-31 13:11:38 +01:00
isofs
jbd2 jbd2: increase IO priority of checkpoint 2025-09-25 14:37:07 -04:00
jffs2
jfs A few fixes and cleanups for JFS. 2025-10-03 13:54:23 -07:00
kernfs vfs-6.18-rc1.misc 2025-09-29 09:03:07 -07:00
lockd SUNRPC: Move the svc_rpcb_cleanup() call sites 2025-09-23 13:28:19 -04:00
minix
netfs netfs: Use folio_next_pos() 2025-10-31 13:11:38 +01:00
nfs file->f_path constification 2025-10-03 16:32:36 -07:00
nfs_common
nfsd NFSD 6.18 Release Notes 2025-10-06 13:22:21 -07:00
nilfs2
nls
notify \n 2025-10-03 13:23:10 -07:00
ntfs3
ocfs2 filemap: Add folio_next_pos() 2025-10-31 13:11:37 +01:00
omfs
openpromfs
orangefs orangefs: Two cleanups and a bug fix. 2025-10-03 13:59:56 -07:00
overlayfs file->f_path constification 2025-10-03 16:32:36 -07:00
proc Patch series in this pull request: 2025-10-02 18:44:54 -07:00
pstore pstore update for v6.18-rc1 2025-09-29 18:08:34 -07:00
qnx4
qnx6
quota
ramfs
resctrl
romfs
smb 20 smb client fixes 2025-10-10 11:23:57 -07:00
squashfs Patch series in this pull request: 2025-10-02 18:44:54 -07:00
sysfs
tests
tracefs
ubifs Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
udf
ufs
unicode
vboxsf
verity Optimize fsverity with 2-way interleaved hashing 2025-09-29 15:55:20 -07:00
xfs xfs: Use folio_next_pos() 2025-10-31 13:11:38 +01:00
zonefs
Kconfig Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
Kconfig.binfmt
Makefile Remove bcachefs core code 2025-09-29 13:43:52 -07:00
aio.c Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
anon_inodes.c
attr.c
backing-file.c
bad_inode.c
binfmt_elf.c
binfmt_elf_fdpic.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
bpf_fs_kfuncs.c
buffer.c buffer: Use folio_next_pos() 2025-10-31 13:11:37 +01:00
char_dev.c
compat_binfmt_elf.c
coredump.c Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
d_path.c
dax.c
dcache.c Simplifying ->d_name audits, easy part. 2025-10-03 11:14:02 -07:00
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c
exec.c Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
fcntl.c fcntl: trim arguments 2025-09-26 10:21:23 +02:00
fhandle.c namespace-6.18-rc1 2025-09-29 11:20:29 -07:00
file.c
file_attr.c
file_table.c Have cc(1) catch attempts to modify ->f_path 2025-09-27 20:18:41 -04:00
filesystems.c
fs-writeback.c vfs-6.18-rc1.writeback 2025-09-29 11:34:40 -07:00
fs_context.c
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fsopen.c
init.c VFS: rename kern_path_locked() and related functions. 2025-09-23 12:37:36 +02:00
inode.c vfs-6.18-rc1.inode 2025-09-29 09:42:30 -07:00
internal.h file->f_path constification 2025-10-03 16:32:36 -07:00
ioctl.c
kernel_read_file.c
libfs.c
locks.c
mbcache.c
mnt_idmapping.c
mount.h mount-related stuff for this cycle 2025-10-03 10:19:44 -07:00
mpage.c
namei.c file->f_path constification 2025-10-03 16:32:36 -07:00
namespace.c vfs_parse_fs_string() stuff 2025-10-03 10:51:44 -07:00
nsfs.c file->f_path constification 2025-10-03 16:32:36 -07:00
open.c file->f_path constification 2025-10-03 16:32:36 -07:00
pidfs.c file->f_path constification 2025-10-03 16:32:36 -07: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 mount-related stuff for this cycle 2025-10-03 10:19:44 -07:00
sync.c
sysctls.c
timerfd.c
userfaultfd.c
utimes.c
xattr.c