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

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

Merge "sched/fair: fix "BUG: sleeping function called from invalid context""

parents 542ef09a ad3fb3bd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7389,7 +7389,7 @@ static int find_energy_efficient_cpu(struct task_struct *p, int prev_cpu, int sy
				bias_to_waker_cpu(p, cpu, rtg_target)) {
		best_energy_cpu = cpu;
		fbt_env.fastpath = SYNC_WAKEUP;
		goto unlock;
		goto sync_wakeup;
	}

	rcu_read_lock();
@@ -7470,6 +7470,7 @@ static int find_energy_efficient_cpu(struct task_struct *p, int prev_cpu, int sy
unlock:
	rcu_read_unlock();

sync_wakeup:
	trace_sched_task_util(p, best_energy_cpu, sync,
			need_idle, fbt_env.fastpath, placement_boost,
			rtg_target ? cpumask_first(rtg_target) : -1, start_t);