diff --git a/mm/vmscan.c b/mm/vmscan.c index 6d74b12099bdee287edb85640ad013a886402f1f..403f59edd53e9d58a59783be96d6c42627ca46a2 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1807,7 +1807,7 @@ shrink_inactive_list(unsigned long nr_to_scan, struct lruvec *lruvec, * that pages are cycling through the LRU faster than * they are written so also forcibly stall. */ - if (stat.nr_immediate && current_may_throttle()) + if (stat.nr_immediate) congestion_wait(BLK_RW_ASYNC, HZ/10); }