lkml.org 
[lkml]   [2021]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [REPOST PATCH v4 3/5] kernfs: switch kernfs to use an rwsem
On Fri, 28 May 2021 at 08:34, Ian Kent <raven@themaw.net> 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@redhat.com>

\
 
 \ /
  Last update: 2021-06-01 15:13    [W:0.187 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site