Re: [PATCH v2 5/5] timer_migration: Spare write when nothing changed

From: Frederic Weisbecker
Date: Mon Jun 24 2024 - 18:08:15 EST


Le Mon, Jun 24, 2024 at 04:53:57PM +0200, Anna-Maria Behnsen a écrit :
> The wakeup value is written unconditionally in tmigr_cpu_new_timer(). When
> there was no new next timer expiry that needs to be propagated, then the
> value that was read before is written. This is not required.
>
> Move write to the place where wakeup value could have changed.
>
> Signed-off-by: Anna-Maria Behnsen <anna-maria@xxxxxxxxxxxxx>

Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>