From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 8 Apr 2006 20:26:14 +0100 (BST) From: Hugh Dickins Subject: Re: Page Migration: Make do_swap_page redo the fault 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 Sat, 8 Apr 2006, Christoph Lameter wrote: > > Hmmm..,. There are still two other checks for !PageSwapCache after > obtaining a page lock in shmem_getpage() and in try_to_unuse(). > However, both are getting to the page via the swap maps. So we need to > keep those. Sure, those are long standing checks, necessary long before migration came on the scene; whereas the check in do_swap_page was recently added just for a page migration case, and now turns out to be redundant. 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