Messages in this thread | | | Subject | Re: [PATCH] timers: Fix get_next_timer_interrupt() with no timers pending | From | Nicolas Saenz Julienne <> | Date | Mon, 12 Jul 2021 12:19:00 +0200 |
| |
On Sat, 2021-07-10 at 02:52 +0200, Frederic Weisbecker wrote: > Very good catch. > > And the fix looks good: > > Acked-by: Frederic Weisbecker <frederic@kernel.org>
Thanks!
> > I guess later we can turn this .timers_pending into > .timers_count and that would spare us the costly call to > __next_timer_interrupt() up to the last level after the last > timer is dequeued.
Sound like something manageable. I'll probably have a go at it in the future.
-- Nicolás Sáenz
| |