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

From: Ingo Molnar
Date: Sun Dec 02 2012 - 10:10:44 EST



* Rik van Riel <riel@xxxxxxxxxx> 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
> >where we mutex_lock()ed we'll now down_write().
> >
> >Suggested-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> >Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> >Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> >Cc: Andrea Arcangeli <aarcange@xxxxxxxxxx>
> >Cc: Rik van Riel <riel@xxxxxxxxxx>
> >Cc: Mel Gorman <mgorman@xxxxxxx>
> >Cc: Hugh Dickins <hughd@xxxxxxxxxx>
> >Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
>
> Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

Thanks Rik!

Ingo
--
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/