Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1627542

Re: [RFC 0/4] Replace mmap_sem by a range lock

From Laurent Dufour <ldufour@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [RFC 0/4] Replace mmap_sem by a range lock
Date 2017-04-20 16:40 +0200
Message-ID <tylpw-1FW-17@gated-at.bofh.it> (permalink)
References <txWKu-3m5-15@gated-at.bofh.it> <tykts-14Q-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC 0/4] Replace mmap_sem by a range lock Laurent Dufour <ldufour@linux.vnet.ibm.com> - 2017-04-19 14:20 +0200
  Re: [RFC 0/4] Replace mmap_sem by a range lock Matthew Wilcox <willy@infradead.org> - 2017-04-20 15:40 +0200
    Re: [RFC 0/4] Replace mmap_sem by a range lock Laurent Dufour <ldufour@linux.vnet.ibm.com> - 2017-04-20 16:40 +0200
  Re: [RFC 4/4] Change mmap_sem to range lock Peter Zijlstra <peterz@infradead.org> - 2017-04-20 16:40 +0200
    Re: [RFC 4/4] Change mmap_sem to range lock Laurent Dufour <ldufour@linux.vnet.ibm.com> - 2017-04-20 16:50 +0200
  Re: [RFC 4/4] Change mmap_sem to range lock Andi Kleen <andi@firstfloor.org> - 2017-04-21 01:40 +0200
    Re: [RFC 4/4] Change mmap_sem to range lock Laurent Dufour <ldufour@linux.vnet.ibm.com> - 2017-04-24 17:50 +0200

csiph-web