Re: [PATCH net-next 0/6] net: make TCP preemptible

2016-04-28 Thread Marcelo Ricardo Leitner
On Wed, Apr 27, 2016 at 10:25:46PM -0700, Eric Dumazet wrote: > Most of TCP stack assumed it was running from BH handler. > > This is great for most things, as TCP behavior is very sensitive > to scheduling artifacts. > > However, the prequeue and backlog processing are problematic, > as they nee

Re: [PATCH net-next 0/6] net: make TCP preemptible

2016-04-28 Thread Eric Dumazet
On Thu, 2016-04-28 at 10:51 -0700, Alexei Starovoitov wrote: > got it. It applies to both v4 and v6, right? You mean IPv6 ? Well, you know, I decided to skip IPv6 and go to IPv8 anyway ;) Yes, these changes apply for both IPv4 and IPv6 in the meantime. > that would be awesome. I think map/re

Re: [PATCH net-next 0/6] net: make TCP preemptible

2016-04-28 Thread Alexei Starovoitov
On Thu, Apr 28, 2016 at 10:41:10AM -0700, Eric Dumazet wrote: > On Thu, 2016-04-28 at 10:23 -0700, Alexei Starovoitov wrote: > > On Wed, Apr 27, 2016 at 10:25:46PM -0700, Eric Dumazet wrote: > > > Most of TCP stack assumed it was running from BH handler. > > > > > > This is great for most things,

Re: [PATCH net-next 0/6] net: make TCP preemptible

2016-04-28 Thread Eric Dumazet
On Thu, 2016-04-28 at 10:23 -0700, Alexei Starovoitov wrote: > On Wed, Apr 27, 2016 at 10:25:46PM -0700, Eric Dumazet wrote: > > Most of TCP stack assumed it was running from BH handler. > > > > This is great for most things, as TCP behavior is very sensitive > > to scheduling artifacts. > > > >

Re: [PATCH net-next 0/6] net: make TCP preemptible

2016-04-28 Thread Alexei Starovoitov
On Wed, Apr 27, 2016 at 10:25:46PM -0700, Eric Dumazet wrote: > Most of TCP stack assumed it was running from BH handler. > > This is great for most things, as TCP behavior is very sensitive > to scheduling artifacts. > > However, the prequeue and backlog processing are problematic, > as they nee

[PATCH net-next 0/6] net: make TCP preemptible

2016-04-27 Thread Eric Dumazet
Most of TCP stack assumed it was running from BH handler. This is great for most things, as TCP behavior is very sensitive to scheduling artifacts. However, the prequeue and backlog processing are problematic, as they need to be flushed with BH being blocked. To cope with modern needs, TCP socke