From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 27 Feb 2006 18:43:08 +0000 (GMT) From: Hugh Dickins Subject: Re: page_lock_anon_vma(): remove check for mapped page In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: akpm@osdl.org, linux-mm@kvack.org List-ID: On Mon, 27 Feb 2006, Christoph Lameter wrote: > > The check_mapped can be done in a different way since there is no need > for an rcu lock because we now have the requirement to hold > mmap_sem for protection. You're right, I hadn't thought of it that way round, you're better off simply avoiding page_lock_anon_vma for your usage. Acked-by: Hugh Dickins -- 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