|
@@ -1807,7 +1807,7 @@ shrink_inactive_list(unsigned long nr_to_scan, struct lruvec *lruvec,
|
|
* that pages are cycling through the LRU faster than
|
|
* that pages are cycling through the LRU faster than
|
|
* they are written so also forcibly stall.
|
|
* 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);
|
|
congestion_wait(BLK_RW_ASYNC, HZ/10);
|
|
}
|
|
}
|
|
|
|
|