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

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

Merge "sched/fair: consider uclamp boost while deciding the start_cpu"

parents b325307c 02ee287a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -6388,7 +6388,8 @@ static int get_start_cpu(struct task_struct *p)
	struct root_domain *rd = cpu_rq(smp_processor_id())->rd;
	int start_cpu = rd->min_cap_orig_cpu;
	int task_boost = per_task_boost(p);
	bool boosted = task_boost_policy(p) == SCHED_BOOST_ON_BIG ||
	bool boosted = uclamp_boosted(p) ||
		       task_boost_policy(p) == SCHED_BOOST_ON_BIG ||
		       task_boost == TASK_BOOST_ON_MID;
	bool task_skip_min = task_skip_min_cpu(p);