diff options
author | David Howells <dhowells@redhat.com> | 2016-09-26 22:12:49 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-09-30 14:40:11 +0100 |
commit | df0adc788ae74e35ab1a79f3db878df7fdc7db55 (patch) | |
tree | c47e59c2105fb9743a68b38af3db2b40d2c69ee6 /net/rxrpc/sysctl.c | |
parent | c31410ea009d10501ea90f64cdda0083c8cf0161 (diff) | |
download | blackbird-obmc-linux-df0adc788ae74e35ab1a79f3db878df7fdc7db55.tar.gz blackbird-obmc-linux-df0adc788ae74e35ab1a79f3db878df7fdc7db55.zip |
rxrpc: Keep the call timeouts as ktimes rather than jiffies
Keep that call timeouts as ktimes rather than jiffies so that they can be
expressed as functions of RTT.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/sysctl.c')
-rw-r--r-- | net/rxrpc/sysctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/rxrpc/sysctl.c b/net/rxrpc/sysctl.c index 13d1df03ebac..34c706d2f79c 100644 --- a/net/rxrpc/sysctl.c +++ b/net/rxrpc/sysctl.c @@ -35,7 +35,7 @@ static struct ctl_table rxrpc_sysctl_table[] = { .data = &rxrpc_requested_ack_delay, .maxlen = sizeof(unsigned int), .mode = 0644, - .proc_handler = proc_dointvec_ms_jiffies, + .proc_handler = proc_dointvec, .extra1 = (void *)&zero, }, { @@ -43,7 +43,7 @@ static struct ctl_table rxrpc_sysctl_table[] = { .data = &rxrpc_soft_ack_delay, .maxlen = sizeof(unsigned int), .mode = 0644, - .proc_handler = proc_dointvec_ms_jiffies, + .proc_handler = proc_dointvec, .extra1 = (void *)&one, }, { @@ -51,7 +51,7 @@ static struct ctl_table rxrpc_sysctl_table[] = { .data = &rxrpc_idle_ack_delay, .maxlen = sizeof(unsigned int), .mode = 0644, - .proc_handler = proc_dointvec_ms_jiffies, + .proc_handler = proc_dointvec, .extra1 = (void *)&one, }, { @@ -85,7 +85,7 @@ static struct ctl_table rxrpc_sysctl_table[] = { .data = &rxrpc_max_call_lifetime, .maxlen = sizeof(unsigned int), .mode = 0644, - .proc_handler = proc_dointvec_jiffies, + .proc_handler = proc_dointvec, .extra1 = (void *)&one, }, |