Commit 74b640d3 authored by Todd Poynor's avatar Todd Poynor
Browse files

cpufreq: interactive: reduce chance of zero time delta on load eval



Reschedule load sampling timer after timestamp of sample start taken,
hold spinlock across entire sequence to avoid preemption.  Avoid the
WARN for zero time delta in the load sampling timer function.

Change-Id: Idc10a756f09141decb6df92669521a1ebf0dbc10
Signed-off-by: default avatarTodd Poynor <toddpoynor@google.com>
parent 4b07ef06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment