diff options
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 132d1ddb2238..a1893c050795 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -2266,7 +2266,8 @@ static unsigned long do_try_to_free_pages(struct zonelist *zonelist, | |||
2266 | */ | 2266 | */ |
2267 | writeback_threshold = sc->nr_to_reclaim + sc->nr_to_reclaim / 2; | 2267 | writeback_threshold = sc->nr_to_reclaim + sc->nr_to_reclaim / 2; |
2268 | if (total_scanned > writeback_threshold) { | 2268 | if (total_scanned > writeback_threshold) { |
2269 | wakeup_flusher_threads(laptop_mode ? 0 : total_scanned); | 2269 | wakeup_flusher_threads(laptop_mode ? 0 : total_scanned, |
2270 | WB_REASON_TRY_TO_FREE_PAGES); | ||
2270 | sc->may_writepage = 1; | 2271 | sc->may_writepage = 1; |
2271 | } | 2272 | } |
2272 | 2273 | ||