From 6c3631aeba1d5717f03f55412c4d9ae421ef886f Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 28 Jun 2013 09:52:23 +1000 Subject: [PATCH] shrinker-kill-old-shrink-api-fix fix whitespace Cc: Glauber Costa Signed-off-by: Andrew Morton --- mm/vmscan.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index d03facb136e4..2ccb1afeef29 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -261,11 +261,10 @@ shrink_slab_node(struct shrink_control *shrinkctl, struct shrinker *shrinker, max_pass, delta, total_scan); while (total_scan >= batch_size) { - unsigned long ret; + shrinkctl->nr_to_scan = batch_size; ret = shrinker->scan_objects(shrinker, shrinkctl); - if (ret == SHRINK_STOP) break; freed += ret; -- 2.39.5