diff options
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 63bd521bb229..d55d106ad179 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -2539,8 +2539,7 @@ static int __zone_reclaim(struct zone *zone, gfp_t gfp_mask, unsigned int order) | |||
2539 | .may_writepage = !!(zone_reclaim_mode & RECLAIM_WRITE), | 2539 | .may_writepage = !!(zone_reclaim_mode & RECLAIM_WRITE), |
2540 | .may_unmap = !!(zone_reclaim_mode & RECLAIM_SWAP), | 2540 | .may_unmap = !!(zone_reclaim_mode & RECLAIM_SWAP), |
2541 | .may_swap = 1, | 2541 | .may_swap = 1, |
2542 | .swap_cluster_max = max_t(unsigned long, nr_pages, | 2542 | .swap_cluster_max = SWAP_CLUSTER_MAX, |
2543 | SWAP_CLUSTER_MAX), | ||
2544 | .nr_to_reclaim = max_t(unsigned long, nr_pages, | 2543 | .nr_to_reclaim = max_t(unsigned long, nr_pages, |
2545 | SWAP_CLUSTER_MAX), | 2544 | SWAP_CLUSTER_MAX), |
2546 | .gfp_mask = gfp_mask, | 2545 | .gfp_mask = gfp_mask, |