[PATCH v2 1/6] kernfs: switch kernfs to use an rwsem

2020-06-17 Thread Ian Kent
The kernfs global lock restricts the ability to perform kernfs node lookup operations in parallel. Change the kernfs mutex to an rwsem so that, when oppertunity arises, node searches can be done in parallel. Signed-off-by: Ian Kent --- fs/kernfs/dir.c | 119

Re: [PATCH v2 1/6] kernfs: switch kernfs to use an rwsem

2020-06-17 Thread Ian Kent
On Wed, 2020-06-17 at 15:30 +0800, Ian Kent wrote: > The kernfs global lock restricts the ability to perform kernfs node > lookup operations in parallel. > > Change the kernfs mutex to an rwsem so that, when oppertunity arises, > node searches can be done in parallel. Please ignore, false start

[PATCH v2 1/6] kernfs: switch kernfs to use an rwsem

2020-06-17 Thread Ian Kent
The kernfs global lock restricts the ability to perform kernfs node lookup operations in parallel. Change the kernfs mutex to an rwsem so that, when oppertunity arises, node searches can be done in parallel. Signed-off-by: Ian Kent --- fs/kernfs/dir.c | 119