Merge "sched/walt: Fix pipeline fastpath during active load balance"
This commit is contained in:
commit
089120f1d1
@ -869,7 +869,8 @@ int walt_find_energy_efficient_cpu(struct task_struct *p, int prev_cpu,
|
||||
cpumask_test_cpu(pipeline_cpu, p->cpus_ptr) &&
|
||||
cpu_active(pipeline_cpu) &&
|
||||
!cpu_halted(pipeline_cpu)) {
|
||||
if (!walt_pipeline_low_latency_task(cpu_rq(pipeline_cpu)->curr)) {
|
||||
if ((p == cpu_rq(pipeline_cpu)->curr) ||
|
||||
!walt_pipeline_low_latency_task(cpu_rq(pipeline_cpu)->curr)) {
|
||||
best_energy_cpu = pipeline_cpu;
|
||||
fbt_env.fastpath = PIPELINE_FASTPATH;
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user