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

Commit cb858f11 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Gerrit - the friendly Code Review server
Browse files

sched/fair: Improve the scheduler



This change is for general scheduler improvement.

Change-Id: I7a84c7f7444d57f31e0859c4d39450d23421eb73
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 408e7407
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -6463,7 +6463,8 @@ static void find_best_target(struct sched_domain *sd, cpumask_t *cpus,
		goto out;

	/* fast path for prev_cpu */
	if ((capacity_orig_of(prev_cpu) == capacity_orig_of(start_cpu)) &&
	if (((capacity_orig_of(prev_cpu) == capacity_orig_of(start_cpu)) ||
		asym_cap_siblings(prev_cpu, start_cpu)) &&
		!cpu_isolated(prev_cpu) && cpu_online(prev_cpu) &&
		idle_cpu(prev_cpu)) {