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:
Narayanan Gopalakrishnan <nargop@codeaurora.org>
Loading
Please register or sign in to comment