Re: [PATCH] mm: replace mmap_sem for mm->exe_file serialization

2015-03-11 Thread Konstantin Khlebnikov
On Wed, Mar 11, 2015 at 3:40 PM, Davidlohr Bueso wrote: > On Wed, 2015-03-11 at 15:21 +0300, Konstantin Khlebnikov wrote: >> On Fri, Feb 27, 2015 at 9:34 PM, Davidlohr Bueso wrote: >> > On Fri, 2015-02-27 at 18:36 +0100, Oleg Nesterov wrote: >> >> On 02/26, Cyrill Gorcunov wrote: >> >> > >> >> >

Re: [PATCH] mm: replace mmap_sem for mm->exe_file serialization

2015-03-11 Thread Davidlohr Bueso
On Wed, 2015-03-11 at 15:21 +0300, Konstantin Khlebnikov wrote: > On Fri, Feb 27, 2015 at 9:34 PM, Davidlohr Bueso wrote: > > On Fri, 2015-02-27 at 18:36 +0100, Oleg Nesterov wrote: > >> On 02/26, Cyrill Gorcunov wrote: > >> > > >> > On Thu, Feb 26, 2015 at 11:36:57AM -0800, Davidlohr Bueso wrote:

Re: [PATCH] mm: replace mmap_sem for mm->exe_file serialization

2015-03-11 Thread Konstantin Khlebnikov
On Fri, Feb 27, 2015 at 9:34 PM, Davidlohr Bueso wrote: > On Fri, 2015-02-27 at 18:36 +0100, Oleg Nesterov wrote: >> On 02/26, Cyrill Gorcunov wrote: >> > >> > On Thu, Feb 26, 2015 at 11:36:57AM -0800, Davidlohr Bueso wrote: >> > > We currently use the mmap_sem to serialize the mm exe_file. >> > >

Re: [PATCH] mm: replace mmap_sem for mm->exe_file serialization

2015-02-27 Thread Davidlohr Bueso
On Fri, 2015-02-27 at 18:36 +0100, Oleg Nesterov wrote: > On 02/26, Cyrill Gorcunov wrote: > > > > On Thu, Feb 26, 2015 at 11:36:57AM -0800, Davidlohr Bueso wrote: > > > We currently use the mmap_sem to serialize the mm exe_file. > > > This is atrocious and a clear example of the misuses this > > >

Re: [PATCH] mm: replace mmap_sem for mm->exe_file serialization

2015-02-27 Thread Oleg Nesterov
On 02/26, Cyrill Gorcunov wrote: > > On Thu, Feb 26, 2015 at 11:36:57AM -0800, Davidlohr Bueso wrote: > > We currently use the mmap_sem to serialize the mm exe_file. > > This is atrocious and a clear example of the misuses this > > lock has all over the place, making any significant changes > > to

Re: [PATCH] mm: replace mmap_sem for mm->exe_file serialization

2015-02-26 Thread Cyrill Gorcunov
On Thu, Feb 26, 2015 at 11:36:57AM -0800, Davidlohr Bueso wrote: > We currently use the mmap_sem to serialize the mm exe_file. > This is atrocious and a clear example of the misuses this > lock has all over the place, making any significant changes > to the address space locking that much more comp