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

From: Frederic Weisbecker
Date: Sat Jun 22 2024 - 05:04:50 EST


Le Mon, Jun 10, 2024 at 06:42:16PM +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>