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

Commit 53e133ba authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "sched/fair: correct fastpath""

parents 525aad03 b462b2ec
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -6912,9 +6912,7 @@ static void find_best_target(struct sched_domain *sd, cpumask_t *cpus,
		!cpu_isolated(prev_cpu) && cpu_online(prev_cpu) &&
		idle_cpu(prev_cpu)) {

		if (idle_get_state_idx(cpu_rq(prev_cpu)) <=
			(is_min_capacity_cpu(prev_cpu) ? 1 : 0)) {

		if (idle_get_state_idx(cpu_rq(prev_cpu)) <= 1) {
			target_cpu = prev_cpu;

			fbt_env->fastpath = PREV_CPU_FASTPATH;