[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANDhNCq38L8o5vKJaC8WzfvqEoX-xrxX=-n6ReohKK_vR65Sqg@mail.gmail.com>
Date: Wed, 9 Oct 2024 10:31:46 -0700
From: John Stultz <jstultz@...gle.com>
To: Anna-Maria Behnsen <anna-maria@...utronix.de>
Cc: Frederic Weisbecker <frederic@...nel.org>, Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
Miroslav Lichvar <mlichvar@...hat.com>, Richard Cochran <richardcochran@...il.com>,
Christopher S Hall <christopher.s.hall@...el.com>
Subject: Re: [PATCH v2 03/25] timekeeping: Avoid duplicate leap state update
On Wed, Oct 9, 2024 at 1:29 AM Anna-Maria Behnsen
<anna-maria@...utronix.de> wrote:
>
> From: Anna-Maria Behnsen <anna-maria@...utronix.de>
>
> do_adjtimex() invokes tk_update_leap_state() unconditionally even when a
> previous invocation of timekeeping_update() already did that update.
>
> Put it into the else path which is invoked when timekeeping_update() is not
> called.
>
> Signed-off-by: Anna-Maria Behnsen <anna-maria@...utronix.de>
Could probably use a comment in the code to that effect, but otherwise:
Acked-by: John Stultz <jstultz@...gle.com>
Powered by blists - more mailing lists