From: Nick Piggin Date: Tue, 16 Oct 2007 08:24:41 +0000 (-0700) Subject: mm: improve find_lock_page X-Git-Tag: v2.6.24-rc1~1224 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45726cb43d11b288c58243a26010f397054222f0;p=pandora-kernel.git mm: improve find_lock_page find_lock_page does not need to recheck ->index because if the page is in the right mapping then the index must be the same. Also, tree_lock does not need to be retaken after the page is locked in order to test that ->mapping has not changed, because holding the page lock pins its mapping. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed