diff options
author | Ian Kent <raven@themaw.net> | 2021-07-16 17:28:29 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-27 09:29:15 +0200 |
commit | 7ba0273b2f34a55efe967d3c7381fb1da2ca195f (patch) | |
tree | b8c0df46d2918cd7fc27c87fa1f9e058bbfd6aeb /scripts | |
parent | c7e7c04274b13f98f758fb69b03f2ab61976ea80 (diff) | |
download | linux-7ba0273b2f34a55efe967d3c7381fb1da2ca195f.tar.gz linux-7ba0273b2f34a55efe967d3c7381fb1da2ca195f.tar.bz2 linux-7ba0273b2f34a55efe967d3c7381fb1da2ca195f.zip |
kernfs: switch kernfs to use an rwsem
The kernfs global lock restricts the ability to perform kernfs node
lookup operations in parallel during path walks.
Change the kernfs mutex to an rwsem so that, when opportunity arises,
node searches can be done in parallel with path walk lookups.
Reviewed-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Ian Kent <raven@themaw.net>
Link: https://lore.kernel.org/r/162642770946.63632.2218304587223241374.stgit@web.messagingengine.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions