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

Commit 2ceabae2 authored by Puja Gupta's avatar Puja Gupta Committed by Pavankumar Kondeti
Browse files

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



This reverts commit 1212399d ("sched/fair: Add overutilization condition
to sync wakeup case"). The change causes regression in some usecases
which use sync wakeup, hence revert the change.

Change-Id: I905a992a2c4d44dfa9b45ef06f0ed4b1b49b0eeb
Signed-off-by: default avatarPuja Gupta <pujag@codeaurora.org>
[pkondeti@codeaurora.org: resolved minor merge conflicts]
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent ebf44d36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7369,7 +7369,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) && !__cpu_overutilized(cpu, task_util(p));
	       task_fits_max(p, cpu);
}

#define SCHED_SELECT_PREV_CPU_NSEC	2000000