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

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

Merge "sched/fair: Improve the scheduler"

parents dd98d97d b687bb51
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3858,7 +3858,9 @@ static inline bool task_fits_max(struct task_struct *p, int cpu)

	if (is_min_capacity_cpu(cpu)) {
		if (task_boost_policy(p) == SCHED_BOOST_ON_BIG ||
				task_boost > 0)
				task_boost > 0 ||
				uclamp_boosted(p) ||
				walt_should_kick_upmigrate(p, cpu))
			return false;
	} else { /* mid cap cpu */
		if (task_boost > TASK_BOOST_ON_MID)