]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
shrinker-kill-old-shrink-api-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 27 Jun 2013 23:52:23 +0000 (09:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:04 +0000 (16:38 +1000)
fix whitespace

Cc: Glauber Costa <glommer@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c

index d03facb136e4a0f09dc264cd6f2e201761bbe1cc..2ccb1afeef29f9a227086d031c51b4276d703c0b 100644 (file)
@@ -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;