|
@@ -1637,7 +1637,7 @@ static void shrink_zone(int priority, struct zone *zone,
|
|
* with multiple processes reclaiming pages, the total
|
|
* with multiple processes reclaiming pages, the total
|
|
* freeing target can get unreasonably large.
|
|
* freeing target can get unreasonably large.
|
|
*/
|
|
*/
|
|
- if (nr_reclaimed > nr_to_reclaim && priority < DEF_PRIORITY)
|
|
|
|
|
|
+ if (nr_reclaimed >= nr_to_reclaim && priority < DEF_PRIORITY)
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|