Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7f04520 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mm, kswapd: remove bogus check of balance_classzone_idx"

parents e236c2f0 d7e25d63
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3570,8 +3570,7 @@ static int kswapd(void *p)
		 * new request of a similar or harder type will succeed soon
		 * so consider going to sleep on the basis we reclaimed at
		 */
		if (balanced_classzone_idx >= new_classzone_idx &&
					balanced_order == new_order) {
		if (balanced_order == new_order) {
			new_order = pgdat->kswapd_max_order;
			new_classzone_idx = pgdat->classzone_idx;
			pgdat->kswapd_max_order =  0;