X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fvmscan.c;h=8bfd45050a61494f919e90dfb1538ea8310f4f20;hb=044aea9b83614948c98564000db07d1d32b2d29b;hp=f6b435c80079337489b17122f0d0ab1b829e12c3;hpb=8db72a7d7268630e04ec285fbd3e90733b2eddf9;p=pandora-kernel.git diff --git a/mm/vmscan.c b/mm/vmscan.c index f6b435c80079..8bfd45050a61 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -937,7 +937,7 @@ keep_lumpy: * back off and wait for congestion to clear because further reclaim * will encounter the same problem */ - if (nr_dirty == nr_congested && nr_dirty != 0) + if (nr_dirty && nr_dirty == nr_congested && scanning_global_lru(sc)) zone_set_flag(zone, ZONE_CONGESTED); free_page_list(&free_pages);