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

Commit 3ee05b63 authored by Shiju Mathew's avatar Shiju Mathew
Browse files

msm: thermal: Optimize locking in thermal frequency mitigation thread



Optimize locking in thermal frequency mitigation thread
to reduce lock contention with hotplug mitigation thread.
This lock is not explicitly required since the cpu driver
already have a per cluster lock down the freqency mitigation
call path. This would be much optimized since the new changes
will hold the lock for a shorter period and unlike previously
where the lock was for entire cluster, this is per cluster
lock that will further reduce lock contention. This would
help thermal to do mitigation faster.

Change-Id: Ic8f0924eabb4b450b73a7db6e2a8d8bd83106015
Signed-off-by: default avatarShiju Mathew <shijum@codeaurora.org>
parent bb4fa38d
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