Commit 85e433b5 authored by Narayanan Gopalakrishnan's avatar Narayanan Gopalakrishnan Committed by Gerrit - the friendly Code Review server
Browse files

msm: cpufreq: increase priority of thread that increases frequencies



When the cpufreq governors request for increase in frequency from kworker
threads, there is chance that the kworker thread is cpu starved due to
other high priority threads, leading to undesirable increase in frequency
ramp-up latency. Add the calling thread to SCHED_FIFO policy when
requesting for increase in frequency and restore back to original policy
after ramp-up is completed.

Change-Id: Ie4fa199b7f9087717cb94dfcc2eddea27cc0012b
Signed-off-by: default avatarNarayanan Gopalakrishnan <nargop@codeaurora.org>
parent 902f0f2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment