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

2018-05-11 Thread David Miller
From: Eric Dumazet Date: Thu, 10 May 2018 14:59:43 -0700 > 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. > > pacing timer logic looks like other (jiffies based) tcp t

[PATCH v2 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. pacing timer logic looks like other (jiffies based) tcp timers. v2: use hrtimer_try_to_cancel() in tcp_clear_xmit_timers()