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

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

Merge "sched: Improve the scheduler"

parents 63812d88 134ed0d4
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3846,8 +3846,9 @@ static inline bool task_fits_max(struct task_struct *p, int cpu)
	if (capacity == max_capacity)
		return true;

	if (task_boost_policy(p) == SCHED_BOOST_ON_BIG
				&& is_min_capacity_cpu(cpu))
	if ((task_boost_policy(p) == SCHED_BOOST_ON_BIG ||
			schedtune_task_boost(p) > 0) &&
			is_min_capacity_cpu(cpu))
		return false;

	return task_fits_capacity(p, capacity, cpu);