aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2010-09-28 05:37:55 +0000
committerAndi Kleen <[email protected]>2010-10-07 07:47:10 +0000
commit47f43e7efadacc627f325aba64c6a547de0926db (patch)
treee83afbf6be4f594d6f0cd1bf815e9469d4a14f18 /lib/dynamic_debug.c
parentHWPOISON: Report correct address granuality for AO huge page errors (diff)
downloadkernel-47f43e7efadacc627f325aba64c6a547de0926db.tar.gz
kernel-47f43e7efadacc627f325aba64c6a547de0926db.zip
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 <[email protected]> Signed-off-by: Andi Kleen <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions