Re: [PATCH] mm: fix page_lock_anon_vma leaving mutex locked

From: Linus Torvalds
Date: Sat May 28 2011 - 20:27:06 EST


On Sat, May 28, 2011 at 5:12 PM, Hugh Dickins <hughd@xxxxxxxxxx> wrote:
>
> Though I think I'm arriving at the conclusion that this patch
> is correct as is, despite the doubts that have arisen.

Well, you hopefully saw my second email where I had come to the same conclusion.

So I applied the third patch as well, after all. I think it's at the
very least at least "more correct" than what we have now. Whether that
"page_mapped()" should then be extended to do something else is an
additional thing, and I suspect it would affect the slow-path case
too.

I dunno.

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