Skip to content
Commit 2e94d1f7 authored by Arjan van de Ven's avatar Arjan van de Ven
Browse files

hrtimer: peek at the timer queue just before going idle



As part of going idle, we already look at the time of the next timer event to determine
which C-state to select etc.

This patch adds functionality that causes the timers that are past their
soft expire time, to fire at this time, before we calculate the next wakeup
time. This functionality will thus avoid wakeups by running timers before
going idle rather than specially waking up for it.

Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
parent ae4b748e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment