Re: [patch 05/12] posix-timers: Handle the timer_[re]arm() return value
From: Peter Zijlstra
Date: Tue Apr 07 2026 - 06:02:04 EST
On Tue, Apr 07, 2026 at 10:54:38AM +0200, Thomas Gleixner wrote:
> The [re]arm callbacks will return true when the timer was queued and false
> if it was already expired at enqueue time.
>
> In both cases the call sites can trivially queue the signal right there,
> when the timer was already expired.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>