Re: [PATCH net-next 18/21] rxrpc: Use ktimes for call timeout tracking and set the timer lazily
From: David Howells
Date: Sun Mar 03 2024 - 18:58:58 EST
Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
> > Track the call timeouts as ktimes rather than jiffies as the latter's
> > granularity is too high and only set the timer at the end of the event
> > handling function.
>
> This one has a 64b div somewhere, breaks 32b builds.
Ah - in the trace functions to make the ns-level durations into ms-level ones.
I wonder if it's better to just divide by 1024 - so something close to
microseconds - or whether ktime_to_us() can be used there.
David