From: Nick Piggin Date: Thu, 19 Jan 2006 01:42:27 +0000 (-0800) Subject: [PATCH] mm: migration page refcounting fix X-Git-Tag: v2.6.16-rc2~344 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=053837fce7aa79025ed57656855df09f80175527;p=pandora-kernel.git [PATCH] mm: migration page refcounting fix Migration code currently does not take a reference to target page properly, so between unlocking the pte and trying to take a new reference to the page with isolate_lru_page, anything could happen to it. Fix this by holding the pte lock until we get a chance to elevate the refcount. Other small cleanups while we're here. Signed-off-by: Nick Piggin Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed