]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rxrpc: Cache the congestion window setting
authorDavid Howells <dhowells@redhat.com>
Wed, 14 Jun 2017 16:56:50 +0000 (17:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Jun 2017 19:42:45 +0000 (15:42 -0400)
commitf7aec129a356ad049edddcb7e77b04a474fcf41f
tree103d3fb8a7c99b6c9ebaeaf20d2c891174d72f48
parent0430a26054733de6e7884a4d2872613f9d8b9a66
rxrpc: Cache the congestion window setting

Cache the congestion window setting that was determined during a call's
transmission phase when it finishes so that it can be used by the next call
to the same peer, thereby shortcutting the slow-start algorithm.

The value is stored in the rxrpc_peer struct and is accessed without
locking.  Each call takes the value that happens to be there when it starts
and just overwrites the value when it finishes.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/ar-internal.h
net/rxrpc/call_accept.c
net/rxrpc/call_object.c
net/rxrpc/conn_client.c
net/rxrpc/conn_object.c
net/rxrpc/peer_object.c