[PATCH net-next 18/21] rxrpc: Use ktimes for call timeout tracking and set the timer lazily

David Howells dhowells at redhat.com
Sun Mar 3 15:58:45 PST 2024


Jakub Kicinski <kuba at kernel.org> 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




More information about the linux-afs mailing list