diff options
-rw-r--r-- | mm/vmscan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index ec5ddccbf82e..4e684449bf40 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1972,6 +1972,7 @@ unsigned long mem_cgroup_shrink_node_zone(struct mem_cgroup *mem, | |||
1972 | struct zone *zone, int nid) | 1972 | struct zone *zone, int nid) |
1973 | { | 1973 | { |
1974 | struct scan_control sc = { | 1974 | struct scan_control sc = { |
1975 | .nr_to_reclaim = SWAP_CLUSTER_MAX, | ||
1975 | .may_writepage = !laptop_mode, | 1976 | .may_writepage = !laptop_mode, |
1976 | .may_unmap = 1, | 1977 | .may_unmap = 1, |
1977 | .may_swap = !noswap, | 1978 | .may_swap = !noswap, |