aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/vmscan.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index e70fae31e968..f4619c6cd59e 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -214,8 +214,9 @@ unsigned long shrink_slab(unsigned long scanned, gfp_t gfp_mask,
214 do_div(delta, lru_pages + 1); 214 do_div(delta, lru_pages + 1);
215 shrinker->nr += delta; 215 shrinker->nr += delta;
216 if (shrinker->nr < 0) { 216 if (shrinker->nr < 0) {
217 printk(KERN_ERR "%s: nr=%ld\n", 217 printk(KERN_ERR "shrink_slab: %pF negative objects to "
218 __func__, shrinker->nr); 218 "delete nr=%ld\n",
219 shrinker->shrink, shrinker->nr);
219 shrinker->nr = max_pass; 220 shrinker->nr = max_pass;
220 } 221 }
221 222