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

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

Merge "sched: Improve the scheduler"

parents 49355c05 06bad7ed
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -7274,8 +7274,9 @@ static inline bool task_fits_max(struct task_struct *p, int cpu)
	if (capacity == max_capacity)
	if (capacity == max_capacity)
		return true;
		return true;


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


	return task_fits_capacity(p, capacity, cpu);
	return task_fits_capacity(p, capacity, cpu);