[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87y11omrsk.ffs@tglx>
Date: Tue, 12 Nov 2024 15:48:43 +0100
From: Thomas Gleixner <tglx@...utronix.de>
To: Joel Fernandes <joel@...lfernandes.org>, linux-kernel@...r.kernel.org,
Anna-Maria Behnsen <anna-maria@...utronix.de>, Frederic Weisbecker
<frederic@...nel.org>, Ingo Molnar <mingo@...nel.org>
Subject: Re: [RFC 3/3] tick-sched: Replace jiffie readout with idle_entrytime
On Sun, Nov 10 2024 at 22:55, Joel Fernandes wrote:
>
> + /*
> + * There is some time that passes between when clocksource starts and the
> + * first time tick device is setup. Offset basejiff by that.
> + */
> + basejiff -= DIV_ROUND_DOWN_ULL(tick_first_period, TICK_NSEC);
We clearly need yet another division here. Especially as that division
results in the exactly same value every time.
Powered by blists - more mailing lists