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

Commit abe7cb65 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched/fair: make upmigration of big tasks possible under boost scenarios"

parents cdc3db69 6dbd0061
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -7000,8 +7000,9 @@ static inline bool task_fits_max(struct task_struct *p, int cpu)
		return true;

	if (sched_boost_policy() == SCHED_BOOST_ON_BIG &&
					task_sched_boost(p))
		return !is_min_capacity_cpu(cpu);
					task_sched_boost(p) &&
					is_min_capacity_cpu(cpu))
		return false;

	return task_fits_capacity(p, capacity, cpu);
}