Re: [PATCH 1/2] mm: Take all anon_vma locks in anon_vma_lock

From: Linus Torvalds
Date: Mon May 03 2010 - 12:43:59 EST




On Mon, 3 May 2010, Rik van Riel wrote:
>
> Both the page migration code and the transparent hugepage patches expect
> 100% reliable rmap lookups and use page_lock_anon_vma(page) to prevent
> races with mmap, munmap, expand_stack, etc.

Pretty much same comments as for the other one. Why are we pandering to
the case that is/should be unusual?

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/