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

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

Merge "sched/walt: improve the scheduler"

parents f45208b3 0d517930
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7487,7 +7487,8 @@ static int select_energy_cpu_brute(struct task_struct *p, int prev_cpu, int sync

	if (fbt_env.placement_boost || fbt_env.need_idle ||
			fbt_env.avoid_prev_cpu || (rtg_target &&
			!cpumask_test_cpu(prev_cpu, rtg_target))) {
			(!cpumask_test_cpu(prev_cpu, rtg_target) ||
				cpumask_test_cpu(next_cpu, rtg_target)))) {
		target_cpu = next_cpu;
		goto out;
	}