lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220103084544.1109829-1-imran.f.khan@oracle.com>
Date:   Mon,  3 Jan 2022 19:45:42 +1100
From:   Imran Khan <imran.f.khan@...cle.com>
To:     gregkh@...uxfoundation.org, tj@...nel.org
Cc:     linux-kernel@...r.kernel.org
Subject: [RFC PATCH v2 0/2] kernfs: use kernfs_node specific mutex and spinlock

RFC patchset to reduce usage of global locks in kernfs operations.

PATCH-1: Move kernfs_open_file_mutex and kernfs_open_node_lock within
         kernfs_node.

PATCH-2: Use per kernfs_node specific lock to access permissions

------------------------------------------------------------------

Changes since v1:
 - Introduce PATCH-2 to reduce contention seen around kernfs_rwsem after 
   introduction of PATCH-1.

Imran Khan (2):
  kernfs: use kernfs_node specific mutex and spinlock.
  kernfs: Reduce contention around global per-fs kernfs_rwsem.

 fs/kernfs/dir.c        |  6 ++++++
 fs/kernfs/file.c       | 48 +++++++++++++++---------------------------
 fs/kernfs/inode.c      | 25 +++++++++++++++-------
 include/linux/kernfs.h |  3 +++
 4 files changed, 43 insertions(+), 39 deletions(-)


base-commit: ea586a076e8aa606c59b66d86660590f18354b11
-- 
2.30.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ