Re: [patch 04/12] posix-timers: Expand timer_[re]arm() callbacks with a boolean return value

From: John Stultz

Date: Tue Apr 07 2026 - 16:21:18 EST


On Tue, Apr 7, 2026 at 1:54 AM Thomas Gleixner <tglx@xxxxxxxxxx> wrote:
>
> In order to catch expiry times which are already in the past the
> timer_arm() and timer_rearm() callbacks need to be able to report back to
> the caller whether the timer has been queued or not.
>
> Change the function signature and let all implementations return true for
> now. While at it simplify posix_cpu_timer_rearm().
>
> No functional change intended.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
> Cc: John Stultz <jstultz@xxxxxxxxxx>
> Cc: Stephen Boyd <sboyd@xxxxxxxxxx>
> Cc: Anna-Maria Behnsen <anna-maria@xxxxxxxxxxxxx>
> Cc: Frederic Weisbecker <frederic@xxxxxxxxxx>

Acked-by: John Stultz <jstultz@xxxxxxxxxx>