Re: [PATCH 1/2] mm/rmap: Convert the struct anon_vma::mutex to an rwsem

2012-12-03 Thread Mel Gorman
On Sat, Dec 01, 2012 at 09:10:30PM +0100, Ingo Molnar wrote: > > Convert the struct anon_vma::mutex to an rwsem, which will help > in solving a page-migration scalability problem. (Addressed in > a separate patch.) > > The conversion is simple and straightforward: in every case > where we mutex_l

Re: [PATCH 1/2] mm/rmap: Convert the struct anon_vma::mutex to an rwsem

2012-12-02 Thread Ingo Molnar
* Rik van Riel wrote: > On 12/01/2012 03:10 PM, Ingo Molnar wrote: > > > >Convert the struct anon_vma::mutex to an rwsem, which will help > >in solving a page-migration scalability problem. (Addressed in > >a separate patch.) > > > >The conversion is simple and straightforward: in every case > >

Re: [PATCH 1/2] mm/rmap: Convert the struct anon_vma::mutex to an rwsem

2012-12-01 Thread Rik van Riel
On 12/01/2012 03:10 PM, Ingo Molnar wrote: Convert the struct anon_vma::mutex to an rwsem, which will help in solving a page-migration scalability problem. (Addressed in a separate patch.) The conversion is simple and straightforward: in every case where we mutex_lock()ed we'll now down_write()

[PATCH 1/2] mm/rmap: Convert the struct anon_vma::mutex to an rwsem

2012-12-01 Thread Ingo Molnar
Convert the struct anon_vma::mutex to an rwsem, which will help in solving a page-migration scalability problem. (Addressed in a separate patch.) The conversion is simple and straightforward: in every case where we mutex_lock()ed we'll now down_write(). Suggested-by: Linus Torvalds Cc: Andrew M