From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 8 Aug 2006 19:19:47 +0100 (BST) From: Hugh Dickins Subject: Re: [patch][rfc] possible lock_page fix for Andrea's nopage vs invalidate race? In-Reply-To: <44D7E584.10109@yahoo.com.au> Message-ID: References: <44CF3CB7.7030009@yahoo.com.au> <44D74B98.3030305@yahoo.com.au> <44D7E584.10109@yahoo.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Nick Piggin Cc: Andrea Arcangeli , Andrew Morton , David Howells , Linux Memory Management List-ID: On Tue, 8 Aug 2006, Nick Piggin wrote: > > I wonder if we should have the i_size check (under the page lock) in > do_no_page or down in the ->nopage implementations? I'm inclined to say down in the ->nopage implementations. Hugh -- 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