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

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

Merge "sched/fair: Always try to find energy efficient CPU in wakeup path"

parents 8ca4e3a5 ee198063
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6735,7 +6735,7 @@ static void find_best_target(struct sched_domain *sd, cpumask_t *cpus,
		goto out;

	/* Find SD for the start CPU */
	start_sd = rcu_dereference(per_cpu(sd_asym_packing, start_cpu));
	start_sd = rcu_dereference(per_cpu(sd_asym_cpucapacity, start_cpu));
	if (!start_sd)
		goto out;

@@ -7391,7 +7391,7 @@ static int find_energy_efficient_cpu(struct task_struct *p, int prev_cpu, int sy

	rcu_read_lock();
	pd = rcu_dereference(rd->pd);
	if (!pd || READ_ONCE(rd->overutilized))
	if (!pd)
		goto fail;

	/*