From: Andi Kleen Date: Tue, 28 Sep 2010 05:37:55 +0000 (+0200) Subject: HWPOISON: Stop shrinking at right page count X-Git-Tag: v2.6.36-rc8~26^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47f43e7efadacc627f325aba64c6a547de0926db;p=pandora-kernel.git HWPOISON: Stop shrinking at right page count When we call the slab shrinker to free a page we need to stop at page count one because the caller always holds a single reference, not zero. This avoids useless looping over slab shrinkers and freeing too much memory. Reviewed-by: Wu Fengguang Signed-off-by: Andi Kleen --- Reading git-diff-tree failed