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

Skip to content
Commit 061247dd authored by Narayanan Gopalakrishnan's avatar Narayanan Gopalakrishnan Committed by Stephen Boyd
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 9d05c218
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment