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

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

Merge "Revert "sched/fair: Add overutilization condition to sync wakeup case""

parents a96a6c61 791911c1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3818,8 +3818,7 @@ static inline bool
bias_to_waker_cpu(struct task_struct *p, int cpu, struct cpumask *rtg_target)
{
	bool base_test = cpumask_test_cpu(cpu, &p->cpus_allowed) &&
			cpu_active(cpu) && task_fits_max(p, cpu) &&
			!__cpu_overutilized(cpu, task_util(p));
			cpu_active(cpu) && task_fits_max(p, cpu);
	bool rtg_test = rtg_target && cpumask_test_cpu(cpu, rtg_target);

	return base_test && (!rtg_target || rtg_test);