[PATCH 0/2] timer: make deferrable cpu unbound timers really not bound to a cpu

From: Prasad Sodagudi
Date: Sun Mar 15 2020 - 22:39:40 EST



These patches introduce support for global deferrable timers and this feature is very useful
for the mobile chipsets. There was a discussion on global deferrable timer discussion - [1]
and thomas raised cacheline bouncing problem. I am thinking that, that problem is addressed
on later patches problem as much as possible. Global deferrable timers runs on the
tick_do_timer_cpu to avoid cacheline bouncing problem during the execution of timers.

[1]- https://lore.kernel.org/patchwork/patch/500541/


Joonwoo Park (1):
timer: make deferrable cpu unbound timers really not bound to a cpu

Prasad Sodagudi (1):
sched: Add a check for cpu unbound deferrable timers

include/linux/timer.h | 3 +++
kernel/time/tick-sched.c | 6 +++++
kernel/time/timer.c | 63 ++++++++++++++++++++++++++++++++++++++++++++----
3 files changed, 67 insertions(+), 5 deletions(-)

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project