• Arjan van de Ven's avatar
    hrtimer: peek at the timer queue just before going idle · 2e94d1f7
    Arjan van de Ven authored
    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>
    2e94d1f7
cpuidle.c 8.28 KB