[PATCH v2 0/2] More fsnotify hook optimizations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan,

Following v2 addresses your review comments on v1 [1].

Changes since v1:
- Raname macro to FMODE_NOTIFY_ACCESS_PERM()
- Remove unneeded and unused event set macros

[1] https://lore.kernel.org/linux-fsdevel/20250707170704.303772-1-amir73il@xxxxxxxxx/

Amir Goldstein (2):
  fsnotify: merge file_set_fsnotify_mode_from_watchers() with open perm
    hook
  fsnotify: optimize FMODE_NONOTIFY_PERM for the common cases

 fs/file_table.c          |  2 +-
 fs/notify/fsnotify.c     | 87 ++++++++++++++++++++++++----------------
 fs/open.c                |  6 +--
 include/linux/fs.h       | 12 +++---
 include/linux/fsnotify.h | 35 +++-------------
 5 files changed, 68 insertions(+), 74 deletions(-)

-- 
2.43.0





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux