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

Skip to content
Commit 8000490a authored by Raghavendra Kakarla's avatar Raghavendra Kakarla Committed by Gerrit - the friendly Code Review server
Browse files

lpm-levels: Read next hrtimer event after tick_nohz_idle_stop_tick()



idle_tick is a periodic timer which sends the interrupt to cpu
for every jiffy. If next event is read before stopping the cpu
idle_tick it gives the next tick expiry time as the next event.
Current logic reading the cpu next event time before stopping
the idle tick gives shallower sleep length recorded. This prevents
cluster low power mode to get selected since next wakeup is seen
either very near to current time or as already expired.

Fix this to read next event after idle_tick has been stopped.

Change-Id: I8016c7911dc48450668a8a6bc7a6d01d4423da32
Signed-off-by: default avatarRaghavendra Kakarla <rkakarla@codeaurora.org>
parent a92558f2
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