commit | f51b4480021c470d1f5e8066ccc7c10513bd4e37 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Tue Aug 23 15:27:24 2016 +0100 |
committer | David Howells <dhowells@redhat.com> | Tue Aug 23 16:02:35 2016 +0100 |
tree | 63b43923ac921fe8e3509d5b06f0efafe062a038 | |
parent | df844fd46b98c2efde8f4ac2d50d59bc90c4c679 [diff] |
rxrpc: Set connection expiry on idle, not put Set the connection expiry time when a connection becomes idle rather than doing this in rxrpc_put_connection(). This makes the put path more efficient (it is likely to be called occasionally whilst a connection has outstanding calls because active workqueue items needs to be given a ref). The time is also preset in the connection allocator in case the connection never gets used. Signed-off-by: David Howells <dhowells@redhat.com>