summaryrefslogtreecommitdiff
path: root/kernel/time/timer_list.c
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2021-05-25 01:18:17 +0300
committerThomas Gleixner <tglx@linutronix.de>2021-05-31 18:04:46 +0300
commitea5c7f1b9aa1a7c9d1bb9440084ac1256789fadb (patch)
tree3ca52d1974644872549ea613d546ca0c3b0e698e /kernel/time/timer_list.c
parentc94a8537df12708cc03da9120c3c3561ae744ce1 (diff)
downloadlinux-ea5c7f1b9aa1a7c9d1bb9440084ac1256789fadb.tar.xz
tick/broadcast: Program wakeup timer when entering idle if required
When configuring the broadcast timer on entry to and exit from deep idle states, prefer a per-CPU wakeup timer if one exists. On entry to idle, stop the tick device and transfer the next event into the oneshot wakeup device, which will serve as the wakeup from idle. To avoid the overhead of additional hardware accesses on exit from idle, leave the timer armed and treat the inevitable interrupt as a (possibly spurious) tick event. Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210524221818.15850-5-will@kernel.org
Diffstat (limited to 'kernel/time/timer_list.c')
0 files changed, 0 insertions, 0 deletions