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

John Stultz
2026-04-07T20:20:44Z

On Tue, Apr 7, 2026 at 1:54 AM Thomas Gleixner <tglx@kernel.org> 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@kernel.org>
> Cc: John Stultz <jstultz@google.com>
> Cc: Stephen Boyd <sboyd@kernel.org>
> Cc: Anna-Maria Behnsen <anna-maria@linutronix.de>
> Cc: Frederic Weisbecker <frederic@kernel.org>

Acked-by: John Stultz <jstultz@google.com>