From: Wu Fengguang Date: Wed, 22 Mar 2006 08:08:28 +0000 (-0800) Subject: [PATCH] mm: shrink_inactive_lis() nr_scan accounting fix X-Git-Tag: v2.6.17-rc1~1129^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8d14e172a29ba5ac69a73b61196be86fdfc3e1;p=pandora-kernel.git [PATCH] mm: shrink_inactive_lis() nr_scan accounting fix In shrink_inactive_list(), nr_scan is not accounted when nr_taken is 0. But 0 pages taken does not mean 0 pages scanned. Move the goto statement below the accounting code to fix it. Signed-off-by: Wu Fengguang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed