diff options
author | Eric Dumazet <edumazet@google.com> | 2016-04-29 14:16:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-02 17:02:26 -0400 |
commit | 5413d1babe8f10de13d72496c12b862eef8ba613 (patch) | |
tree | 10212199f865860e38d09e35d9aa853f9f8dc43c /net/rds | |
parent | 860fbbc343bf05a71b31555579ff4878194be01b (diff) |
net: do not block BH while processing socket backlog
Socket backlog processing is a major latency source.
With current TCP socket sk_rcvbuf limits, I have sampled __release_sock()
holding cpu for more than 5 ms, and packets being dropped by the NIC
once ring buffer is filled.
All users are now ready to be called from process context,
we can unblock BH and let interrupts be serviced faster.
cond_resched_softirq() could be removed, as it has no more user.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions