rxrpc: Use ktimes for call timeout tracking and set the timer lazily
authorDavid Howells <dhowells@redhat.com>
Tue, 30 Jan 2024 21:37:16 +0000 (21:37 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 5 Mar 2024 23:35:25 +0000 (23:35 +0000)
commit153f90a066dd4a91ef7edc0df3964dd097a5e2a5
tree9c5dc463db099075963b28398862bd142f94fa4e
parent12a66e77c4999b97a2c2b8f5e4e7533c656cee12
rxrpc: Use ktimes for call timeout tracking and set the timer lazily

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.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: "David S. Miller" <davem@davemloft.net>
cc: Eric Dumazet <edumazet@google.com>
cc: Jakub Kicinski <kuba@kernel.org>
cc: Paolo Abeni <pabeni@redhat.com>
cc: linux-afs@lists.infradead.org
cc: netdev@vger.kernel.org
12 files changed:
include/trace/events/rxrpc.h
net/rxrpc/af_rxrpc.c
net/rxrpc/ar-internal.h
net/rxrpc/call_event.c
net/rxrpc/call_object.c
net/rxrpc/input.c
net/rxrpc/misc.c
net/rxrpc/output.c
net/rxrpc/proc.c
net/rxrpc/rtt.c
net/rxrpc/sendmsg.c
net/rxrpc/sysctl.c