Re: [patch V2 09/50] posix-cpu-timers: Handle interval timers correctly in timer_get()

From: Frederic Weisbecker
Date: Wed Apr 17 2024 - 18:50:43 EST


Le Thu, Apr 11, 2024 at 12:46:27AM +0200, Thomas Gleixner a écrit :
> timer_gettime() must return the remaining time to the next expiry of a
> timer or 0 if the timer is not armed and no signal pending, but posix CPU
> timers fail to forward a timer which is already expired.
>
> Add the required logic to address that.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>