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

Commit 89f8e322 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 41459b87 c6c7b25f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7350,7 +7350,7 @@ bias_to_waker_cpu(struct task_struct *p, int cpu, struct cpumask *rtg_target)
	return cpumask_test_cpu(cpu, tsk_cpus_allowed(p)) &&
	       cpu_active(cpu) && !cpu_isolated(cpu) &&
	       capacity_orig_of(cpu) >= capacity_orig_of(rtg_target_cpu) &&
	       task_fits_max(p, cpu);
	       task_fits_max(p, cpu) && !__cpu_overutilized(cpu, task_util(p));
}

#define SCHED_SELECT_PREV_CPU_NSEC	2000000