diff --git a/mm/vmscan.c b/mm/vmscan.c index c9177202c8ce2ce2f9bfe9045f2a40a8105de8e8..66698f603aa48d8f6ab0578531192b398c7c25b3 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2287,7 +2287,7 @@ static bool sleeping_prematurely(pg_data_t *pgdat, int order, long remaining, * must be balanced */ if (order) - return pgdat_balanced(pgdat, balanced, classzone_idx); + return !pgdat_balanced(pgdat, balanced, classzone_idx); else return !all_zones_ok; }