Re: [PATCH 1/4] Add a function to start/reduce a timer

From: Thomas Gleixner
Date: Wed Nov 08 2017 - 16:54:33 EST


On Mon, 30 Oct 2017, David Howells wrote:

> Add a function, similar to mod_timer(), that will start a timer it isn't
> running and will modify it if it is running and has an expiry time longer
> than the new time. If the timer is running with an expiry time that's the
> same or sooner, no change is made.
>
> The function looks like:
>
> int reduce_timer(struct timer_list *timer, unsigned long expires);

It seems you missed to address any comment I made in:

http://lkml.kernel.org/r/alpine.DEB.2.20.1710201359480.2908@nanos

Thanks,

tglx