Messages in this thread | | | Date | Fri, 23 May 2014 13:33:37 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH 3/5] mm: convert i_mmap_mutex to rwsem |
| |
On 05/22/2014 11:33 PM, Davidlohr Bueso wrote: > The i_mmap_mutex is a close cousin of the anon vma lock, > both protecting similar data, one for file backed pages > and the other for anon memory. To this end, this lock can > also be a rwsem. > > This conversion is straightforward. For now, all users take > the write lock. > > Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
-- All rights reversed
| |