]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-vmscan-distinguish-between-memcg-triggering-reclaim-and-memcg-being-scanned-checkp...
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 8 Dec 2011 04:42:40 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Dec 2011 06:43:29 +0000 (17:43 +1100)
Cc: Balbir Singh <bsingharora@gmail.com>
WARNING: suspect code indent for conditional statements (16, 20)
#421: FILE: mm/vmscan.c:1843:
+ if (inactive_list_is_low(mz, file))
+     shrink_active_list(nr_to_scan, mz, sc, priority, file);

total: 0 errors, 1 warnings, 599 lines checked

./patches/mm-vmscan-distinguish-between-memcg-triggering-reclaim-and-memcg-being-scanned.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Johannes Weiner <jweiner@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c

index 494ae237ce98699faab194845c7e6d5b500b3440..06ee7604c10fd5238ee2f3db68047657717640ce 100644 (file)
@@ -1841,7 +1841,7 @@ static unsigned long shrink_list(enum lru_list lru, unsigned long nr_to_scan,
 
        if (is_active_lru(lru)) {
                if (inactive_list_is_low(mz, file))
-                   shrink_active_list(nr_to_scan, mz, sc, priority, file);
+                       shrink_active_list(nr_to_scan, mz, sc, priority, file);
                return 0;
        }