diff options
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index e1c64230ffdd..58ed5125b1a7 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1614,9 +1614,7 @@ scan: | |||
1614 | sc.nr_reclaimed = 0; | 1614 | sc.nr_reclaimed = 0; |
1615 | sc.priority = priority; | 1615 | sc.priority = priority; |
1616 | sc.swap_cluster_max = nr_pages? nr_pages : SWAP_CLUSTER_MAX; | 1616 | sc.swap_cluster_max = nr_pages? nr_pages : SWAP_CLUSTER_MAX; |
1617 | atomic_inc(&zone->reclaim_in_progress); | ||
1618 | shrink_zone(zone, &sc); | 1617 | shrink_zone(zone, &sc); |
1619 | atomic_dec(&zone->reclaim_in_progress); | ||
1620 | reclaim_state->reclaimed_slab = 0; | 1618 | reclaim_state->reclaimed_slab = 0; |
1621 | nr_slab = shrink_slab(sc.nr_scanned, GFP_KERNEL, | 1619 | nr_slab = shrink_slab(sc.nr_scanned, GFP_KERNEL, |
1622 | lru_pages); | 1620 | lru_pages); |