Re: [PATCH v2] hrtimer: avoid retrigger_next_event IPI

2021-04-14 Thread Thomas Gleixner
Marcelo, On Tue, Apr 13 2021 at 14:04, Marcelo Tosatti wrote: > Setting the realtime clock triggers an IPI to all CPUs to reprogram > hrtimers. s/hrtimers/clock event device/ > However, only realtime and TAI clocks have their offsets updated > (and therefore potentially require a reprogram). >

[PATCH v2] hrtimer: avoid retrigger_next_event IPI

2021-04-13 Thread Marcelo Tosatti
Setting the realtime clock triggers an IPI to all CPUs to reprogram hrtimers. However, only realtime and TAI clocks have their offsets updated (and therefore potentially require a reprogram). Check if it only has monotonic active timers, and in that case update the realtime and TAI base