diff options
-rw-r--r-- | mm/vmscan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 55d86c9506f3..49f15ef0a99a 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1690,6 +1690,8 @@ static void shrink_active_list(unsigned long nr_to_scan, | |||
1690 | 1690 | ||
1691 | lru_add_drain(); | 1691 | lru_add_drain(); |
1692 | 1692 | ||
1693 | reset_reclaim_mode(sc); | ||
1694 | |||
1693 | if (!sc->may_unmap) | 1695 | if (!sc->may_unmap) |
1694 | isolate_mode |= ISOLATE_UNMAPPED; | 1696 | isolate_mode |= ISOLATE_UNMAPPED; |
1695 | if (!sc->may_writepage) | 1697 | if (!sc->may_writepage) |