Re: [PATCH 3/5] mm: convert i_mmap_mutex to rwsem

From: Rik van Riel
Date: Fri May 23 2014 - 13:34:12 EST


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@xxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>


--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/