From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with ESMTP id A05516B023A for ; Mon, 3 May 2010 12:43:07 -0400 (EDT) Date: Mon, 3 May 2010 09:41:20 -0700 (PDT) From: Linus Torvalds Subject: Re: [PATCH 1/2] mm: Take all anon_vma locks in anon_vma_lock In-Reply-To: <20100503121847.7997d280@annuminas.surriel.com> Message-ID: References: <20100503121743.653e5ecc@annuminas.surriel.com> <20100503121847.7997d280@annuminas.surriel.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Rik van Riel Cc: akpm@linux-foundation.org, Mel Gorman , Linux-MM , LKML , Minchan Kim , KAMEZAWA Hiroyuki , Andrea Arcangeli , Christoph Lameter List-ID: 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org