Re: [PATCH net-next] tcp: switch pacing timer to softirq based hrtimer

2018-05-10 Thread David Miller
From: Eric Dumazet Date: Thu, 10 May 2018 13:55:00 -0700 > > > On 05/10/2018 12:49 PM, Eric Dumazet wrote: >> linux-4.16 got support for softirq based hrtimers. >> TCP can switch its pacing hrtimer to this variant, since this >> avoids going through a tasklet and some atomic operations. >> >

Re: [PATCH net-next] tcp: switch pacing timer to softirq based hrtimer

2018-05-10 Thread Eric Dumazet
On 05/10/2018 12:49 PM, Eric Dumazet wrote: > linux-4.16 got support for softirq based hrtimers. > TCP can switch its pacing hrtimer to this variant, since this > avoids going through a tasklet and some atomic operations. > I need to send a V2, adding a test of hrtimer_cancel() return value in

[PATCH net-next] tcp: switch pacing timer to softirq based hrtimer

2018-05-10 Thread Eric Dumazet
linux-4.16 got support for softirq based hrtimers. TCP can switch its pacing hrtimer to this variant, since this avoids going through a tasklet and some atomic operations. Signed-off-by: Eric Dumazet --- net/ipv4/tcp_output.c | 69 --- net/ipv4/tcp_timer.c