[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220324103040.584491-1-imran.f.khan@oracle.com>
Date: Thu, 24 Mar 2022 21:30:38 +1100
From: Imran Khan <imran.f.khan@...cle.com>
To: viro@...iv.linux.org.uk, tj@...nel.org, gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] kernfs: Remove reference counting for kernfs_open_node.
This patchset contains changes that were suggested as part of review of [1].
I am sending these changes as a separate patchset because [1] focusses on
replacing some global locks with hashed ones while these changes are applicable
irrespective of whether we stick with global locks or endup using hashed locks
eventually and hence these changes can be reviewed independent of [1].
[1] https://lore.kernel.org/lkml/YjOpedPDj+3KCJjk@zeniv-ca.linux.org.uk/
Imran Khan (2):
kernfs: Remove reference counting for kernfs_open_node.
kernfs: make ->attr.open RCU protected.
fs/kernfs/file.c | 92 +++++++++++++++++-------------------------
include/linux/kernfs.h | 2 +-
2 files changed, 39 insertions(+), 55 deletions(-)
base-commit: dd315b5800612e6913343524aa9b993f9a8bb0cf
--
2.30.2
Powered by blists - more mailing lists