Re: [RFC 3/3] tick-sched: Replace jiffie readout with idle_entrytime
From: Thomas Gleixner
Date: Tue Nov 12 2024 - 11:40:17 EST
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.