From: Al Viro <viro@zeniv.linux.org.uk>
To: linux-fsdevel@vger.kernel.org
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Christian Brauner <brauner@kernel.org>
Subject: [PATCHES] fdtable series v2
Date: Thu, 22 Aug 2024 01:20:12 +0100 [thread overview]
Message-ID: <20240822002012.GM504335@ZenIV> (raw)
close_range() fix added in the beginning of the series,
dup_fd() calling convention change folded into it (as requested
by Linus), the rest rebased on top of that.
sane_fdtable_size() change is dropped, as it's obsoleted
by close_range() fix. Several patches added at the end of
series.
Same branch -
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git #work.fdtable
individual patches in followups. If nobody objects, I'm adding that
pile to #for-next
Shortlog:
Al Viro (9):
close_range(): fix the logics in descriptor table trimming
get rid of ...lookup...fdget_rcu() family
remove pointless includes of <linux/fdtable.h>
close_files(): don't bother with xchg()
move close_range(2) into fs/file.c, fold __close_range() into it
alloc_fdtable(): change calling conventions.
file.c: merge __{set,clear}_close_on_exec()
make __set_open_fd() set cloexec state as well
expand_files(): simplify calling conventions
Yu Ma (3):
fs/file.c: remove sanity_check and add likely/unlikely in alloc_fd()
fs/file.c: conditionally clear full_fds
fs/file.c: add fast path in find_next_fd()
Diffstat:
arch/powerpc/platforms/cell/spufs/coredump.c | 4 +-
fs/fcntl.c | 1 -
fs/file.c | 291 ++++++++++-----------------
fs/file_table.c | 1 -
fs/gfs2/glock.c | 12 +-
fs/notify/dnotify/dnotify.c | 5 +-
fs/notify/fanotify/fanotify.c | 1 -
fs/notify/fanotify/fanotify_user.c | 1 -
fs/open.c | 17 --
fs/overlayfs/copy_up.c | 1 -
fs/proc/base.c | 1 -
fs/proc/fd.c | 12 +-
include/linux/fdtable.h | 13 +-
include/linux/file.h | 1 +
io_uring/io_uring.c | 1 -
kernel/bpf/bpf_inode_storage.c | 1 -
kernel/bpf/bpf_task_storage.c | 1 -
kernel/bpf/task_iter.c | 6 +-
kernel/bpf/token.c | 1 -
kernel/exit.c | 1 -
kernel/fork.c | 32 ++-
kernel/kcmp.c | 4 +-
kernel/module/dups.c | 1 -
kernel/module/kmod.c | 1 -
kernel/umh.c | 1 -
net/handshake/request.c | 1 -
security/apparmor/domain.c | 1 -
27 files changed, 136 insertions(+), 277 deletions(-)
next reply other threads:[~2024-08-22 0:20 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-22 0:20 Al Viro [this message]
2024-08-22 0:22 ` [PATCH 01/12] close_range(): fix the logics in descriptor table trimming Al Viro
2024-08-22 0:22 ` [PATCH 02/12] get rid of ...lookup...fdget_rcu() family Al Viro
2024-08-22 0:22 ` [PATCH 03/12] remove pointless includes of <linux/fdtable.h> Al Viro
2024-08-22 0:22 ` [PATCH 04/12] close_files(): don't bother with xchg() Al Viro
2024-08-22 0:22 ` [PATCH 05/12] move close_range(2) into fs/file.c, fold __close_range() into it Al Viro
2024-08-22 0:22 ` [PATCH 06/12] fs/file.c: remove sanity_check and add likely/unlikely in alloc_fd() Al Viro
2024-08-22 0:22 ` [PATCH 07/12] fs/file.c: conditionally clear full_fds Al Viro
2024-08-22 0:22 ` [PATCH 08/12] fs/file.c: add fast path in find_next_fd() Al Viro
2024-08-22 0:22 ` [PATCH 09/12] alloc_fdtable(): change calling conventions Al Viro
2024-08-22 0:22 ` [PATCH 10/12] file.c: merge __{set,clear}_close_on_exec() Al Viro
2024-08-22 0:22 ` [PATCH 11/12] make __set_open_fd() set cloexec state as well Al Viro
2024-08-22 0:22 ` [PATCH 12/12] expand_files(): simplify calling conventions Al Viro
2024-10-07 17:39 ` [PATCHES] fdtable series v3 Al Viro
2024-10-07 17:43 ` [PATCH v3 01/11] get rid of ...lookup...fdget_rcu() family Al Viro
2024-10-07 17:43 ` [PATCH v3 02/11] remove pointless includes of <linux/fdtable.h> Al Viro
2024-10-07 17:43 ` [PATCH v3 03/11] close_files(): don't bother with xchg() Al Viro
2024-10-07 17:43 ` [PATCH v3 04/11] move close_range(2) into fs/file.c, fold __close_range() into it Al Viro
2024-10-07 17:43 ` [PATCH v3 05/11] fs/file.c: remove sanity_check and add likely/unlikely in alloc_fd() Al Viro
2024-10-07 17:43 ` [PATCH v3 06/11] fs/file.c: conditionally clear full_fds Al Viro
2024-10-07 17:43 ` [PATCH v3 07/11] fs/file.c: add fast path in find_next_fd() Al Viro
2024-10-07 17:43 ` [PATCH v3 08/11] alloc_fdtable(): change calling conventions Al Viro
2024-10-07 17:43 ` [PATCH v3 09/11] file.c: merge __{set,clear}_close_on_exec() Al Viro
2024-10-07 17:43 ` [PATCH v3 10/11] make __set_open_fd() set cloexec state as well Al Viro
2024-10-09 10:50 ` Steven Price
2024-10-09 14:19 ` Christian Brauner
2024-10-09 15:24 ` Al Viro
2024-10-09 15:36 ` Al Viro
2024-10-10 8:13 ` Christian Brauner
2024-10-09 11:42 ` Marek Szyprowski
2024-10-07 17:43 ` [PATCH v3 11/11] expand_files(): simplify calling conventions Al Viro
2024-10-07 18:12 ` [PATCHES] fdtable series v3 Linus Torvalds
2024-10-08 11:15 ` Christian Brauner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240822002012.GM504335@ZenIV \
--to=viro@zeniv.linux.org.uk \
--cc=brauner@kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.