linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHES] fs/file.c stuff
@ 2024-08-12  6:42 Al Viro
  2024-08-12  6:44 ` [PATCH 01/11] get rid of ...lookup...fdget_rcu() family Al Viro
  0 siblings, 1 reply; 20+ messages in thread
From: Al Viro @ 2024-08-12  6:42 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Christian Brauner, Jan Kara

	Assorted cleanups, part from the previous cycle, part new.
Branch is in git.kernel.org:/pub/scm/linux/kernel/git/viro/vfs.git #work.fdtable
Individual patches in followups.

	Appears to work; if nobody objects, into -next it goes...

Shortlog:
Al Viro (8):
      get rid of ...lookup...fdget_rcu() family
      remove pointless includes of <linux/fdtable.h>
      close_files(): don't bother with xchg()
      proc_fd_getattr(): don't bother with S_ISDIR() check
      move close_range(2) into fs/file.c, fold __close_range() into it
      sane_fdtable_size(): don't bother looking at descriptors we are not going to copy
      alloc_fdtable(): change calling conventions.
      dup_fd(): change 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                                    | 195 +++++++++++----------------
 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                                 |  23 +---
 include/linux/fdtable.h                      |   7 +-
 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                                |  26 ++--
 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, 104 insertions(+), 212 deletions(-)


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-08-14  5:34 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12  6:42 [PATCHES] fs/file.c stuff Al Viro
2024-08-12  6:44 ` [PATCH 01/11] get rid of ...lookup...fdget_rcu() family Al Viro
2024-08-12  6:44   ` [PATCH 02/11] remove pointless includes of <linux/fdtable.h> Al Viro
2024-08-12  9:25     ` Christian Brauner
2024-08-12  6:44   ` [PATCH 03/11] close_files(): don't bother with xchg() Al Viro
2024-08-12  7:56     ` [PATCH] close_files(): reimplement based on do_close_on_exec() Mateusz Guzik
2024-08-14  5:24       ` Al Viro
2024-08-14  5:34         ` Mateusz Guzik
2024-08-12  6:44   ` [PATCH 04/11] proc_fd_getattr(): don't bother with S_ISDIR() check Al Viro
2024-08-12  6:44   ` [PATCH 05/11] move close_range(2) into fs/file.c, fold __close_range() into it Al Viro
2024-08-12  6:44   ` [PATCH 06/11] sane_fdtable_size(): don't bother looking at descriptors we are not going to copy Al Viro
2024-08-12  9:30     ` Christian Brauner
2024-08-12  6:44   ` [PATCH 07/11] fs/file.c: remove sanity_check and add likely/unlikely in alloc_fd() Al Viro
2024-08-12  6:44   ` [PATCH 08/11] fs/file.c: conditionally clear full_fds Al Viro
2024-08-12  6:44   ` [PATCH 09/11] fs/file.c: add fast path in find_next_fd() Al Viro
2024-08-12  6:44   ` [PATCH 10/11] alloc_fdtable(): change calling conventions Al Viro
2024-08-12  9:35     ` Christian Brauner
2024-08-12  6:44   ` [PATCH 11/11] dup_fd(): " Al Viro
2024-08-12  9:32     ` Christian Brauner
2024-08-12  9:24   ` [PATCH 01/11] get rid of ...lookup...fdget_rcu() family Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).