aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r--mm/vmscan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index b55699cd9067..c735bd770d3d 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -2181,7 +2181,8 @@ static unsigned long do_try_to_free_pages(struct zonelist *zonelist,
2181 */ 2181 */
2182 writeback_threshold = sc->nr_to_reclaim + sc->nr_to_reclaim / 2; 2182 writeback_threshold = sc->nr_to_reclaim + sc->nr_to_reclaim / 2;
2183 if (total_scanned > writeback_threshold) { 2183 if (total_scanned > writeback_threshold) {
2184 wakeup_flusher_threads(laptop_mode ? 0 : total_scanned); 2184 wakeup_flusher_threads(laptop_mode ? 0 : total_scanned,
2185 WB_REASON_TRY_TO_FREE_PAGES);
2185 sc->may_writepage = 1; 2186 sc->may_writepage = 1;
2186 } 2187 }
2187 2188