lkml.org 
[lkml]   [2017]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC 0/4] Replace mmap_sem by a range lock
From
Date
On 20/04/2017 15:33, Matthew Wilcox wrote:
> On Wed, Apr 19, 2017 at 02:18:23PM +0200, Laurent Dufour wrote:
>> Following the series pushed by Davidlohr Bueso based on the Jan Kara's
>> work [1] which introduces range locks, this series implements the
>> first step of the attempt to replace the mmap_sem by a range lock.
>
> Have you previously documented attempts to replace the mmap_sem by an
> existing lock type before introducing a new (and frankly weird) lock?

No :/

> My initial question is "Why not use RCU for this?" -- the rxrpc code
> uses an rbtree protected by RCU.

I'm also working on forward-porting work done by Peter Zijlstra :

https://marc.info/?l=linux-mm&m=141384492326748

I'll send a series on top 4.10 soon.

\
 
 \ /
  Last update: 2017-04-20 16:39    [W:0.106 / U:0.436 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site