Re: [PATCH -v2] rmap: make anon_vma_prepare link in all the anon_vmasof a mergeable VMA

From: Rik van Riel
Date: Fri Apr 09 2010 - 16:59:20 EST


On 04/09/2010 04:43 PM, Johannes Weiner wrote:

Okay, I think I got it working. I first thought we would need an
m^n loop to properly merge the anon_vma_chains, but we can actually
be cleverer than that:

I've looked it over 5 times, can't find anything wrong
with it. Your approach looks like it should work just
fine.

Certainly easier than the things Linus and I tried :)

Signed-off-by: Johannes Weiner<hannes@xxxxxxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>
--
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/