]> 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>
Fri, 2 Dec 2011 03:13:00 +0000 (14:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Dec 2011 03:15:51 +0000 (14:15 +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))
 
        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;
        }
 
                return 0;
        }