From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH V4 net-next 3/3] tcp: Add tcp_clamp_rto_to_user_timeout() helper to improve accuracy Date: Thu, 19 Jul 2018 07:15:54 -0700 Message-ID: <20f1f1d4-475e-9639-3d9b-44a139c68000@gmail.com> References: <20180719011444.4694-4-jmaxwell37@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: edumazet@google.com, ncardwell@google.com, David.Laight@aculab.com, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jmaxwell@redhat.com To: Jon Maxwell , davem@davemloft.net Return-path: In-Reply-To: <20180719011444.4694-4-jmaxwell37@gmail.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 07/18/2018 06:14 PM, Jon Maxwell wrote: > Create the tcp_clamp_rto_to_user_timeout() helper routine. To calculate > the correct rto, so that the TCP_USER_TIMEOUT socket option is more > accurate. Taking suggestions and feedback into account from > Eric Dumazet, Neal Cardwell and David Laight. Due to the 1st commit we > can avoid the msecs_to_jiffies() and jiffies_to_msecs() dance. > > Signed-off-by: Jon Maxwell Signed-off-by: Eric Dumazet Thanks !