Skip to content

Commit 32092a9

Browse files
sixtakuExactExampl
authored andcommitted
cpufreq: schedutil: Queue sugov irq work on policy online cpu
Got never update frequency if scheduled the irq work on an offlined cpu and it will always pending. Queue sugov irq work on any online cpu if current cpu is offline. Change-Id: I33fc691917b5866488b6aeb11ed902a2753130b2 Signed-off-by: Maria Yu <aiquny@codeaurora.org> (cherry picked from commit 1d2db9ab99a9abd0d9dcb320e6e0d266e21884f9)
1 parent 7a5ab94 commit 32092a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/sched/cpufreq_schedutil.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ static void sugov_update_commit(struct sugov_policy *sg_policy, u64 time,
161161
trace_cpu_frequency(next_freq, smp_processor_id());
162162
} else {
163163
sg_policy->work_in_progress = true;
164-
irq_work_queue(&sg_policy->irq_work);
164+
sched_irq_work_queue(&sg_policy->irq_work);
165165
}
166166
}
167167

0 commit comments

Comments
 (0)