summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-05-02 17:02:26 -0400
committerDavid S. Miller <davem@davemloft.net>2016-05-02 17:02:26 -0400
commit570d632008fc2c7b17f55db44179fb9a03d107c4 (patch)
tree6b277c34e05b64524f3863ef29d9c222ddf23579 /net/sched
parent5e59c83f2335d634946e1a4fe7bc1e921930f132 (diff)
parentd41a69f1d390fa3f2546498103cdcd78b30676ff (diff)
Merge branch 'tcp-preempt'
Eric Dumazet says: ==================== net: make TCP preemptible 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 sockets have big sk_rcvbuf values, in the order of 16 MB, and soon 32 MB. This means that backlog can hold thousands of packets, and things like TCP coalescing or collapsing on this amount of packets can lead to insane latency spikes, since BH are blocked for too long. It is time to make UDP/TCP stacks preemptible. Note that fast path still runs from BH handler. v2: Added "tcp: make tcp_sendmsg() aware of socket backlog" to reduce latency problems of large sends. v3: Fixed a typo in tcp_cdg.c ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions