From: Wu Fengguang Date: Wed, 22 Mar 2006 08:08:23 +0000 (-0800) Subject: [PATCH] mm: isolate_lru_pages() scan count fix X-Git-Tag: v2.6.17-rc1~1129^2~56 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9b02d970c385a253edb36c87643b0df706b50b4;p=pandora-kernel.git [PATCH] mm: isolate_lru_pages() scan count fix In isolate_lru_pages(), *scanned reports one more scan because the scan counter is increased one more time on exit of the while-loop. Change the while-loop to for-loop to fix it. Signed-off-by: Nick Piggin Signed-off-by: Wu Fengguang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed