Re: [REPOST PATCH v4 3/5] kernfs: switch kernfs to use an rwsem
From: Miklos Szeredi
Date: Tue Jun 01 2021 - 09:12:05 EST
On Fri, 28 May 2021 at 08:34, Ian Kent <raven@xxxxxxxxxx> wrote:
>
> 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.
I don't see how this could have any drawbacks.
Reviewed-by: Miklos Szeredi <mszeredi@xxxxxxxxxx>