Re: [PATCH v6 4/7] kernfs: switch kernfs to use an rwsem

From: Miklos Szeredi
Date: Fri Jun 11 2021 - 09:11:57 EST


On Wed, 9 Jun 2021 at 10:51, 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.
>
> Signed-off-by: Ian Kent <raven@xxxxxxxxxx>

Reviewed-by: Miklos Szeredi <mszeredi@xxxxxxxxxx>