tcp listener refactoring part 15
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | inet: cache listen_sock_qlen() and read rskq_defer_accept oncenet/ | +9 | 0 replies | |
| 2/8 | inet: remove sk_listener parameter from syn_ack_timeout()include/ include/ include/ +3 more | +10 | 0 replies | |
| 3/8 | inet: remove some sk_listener dependenciesnet/ | +11 | 0 replies | |
| 4/8 | net: convert syn_wait_lock to a spinlockinclude/ net/ net/ +3 more | +24 | 0 replies | |
| 5/8 | ipv4: tcp: handle ICMP messages on TCP_NEW_SYN_RECV request socketsinclude/ net/ | +35 | 0 replies | |
| 6/8 | ipv6: tcp: handle ICMP messages on TCP_NEW_SYN_RECV request socketsnet/ | +12 | 0 replies | |
| 7/8 | ipv4: dccp: handle ICMP messages on DCCP_NEW_SYN_RECV request socketsinclude/ net/ net/ | +37 | 0 replies | |
| 8/8 | ipv6: dccp: handle ICMP messages on DCCP_NEW_SYN_RECV request socketsnet/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/8] tcp listener refactoring part 15
I am trying to make the final patch pushing request socks into ehash as small as possible. In this patch series, I made various adjustments for the SYNACK generation, allowing me to reach 1 Mpps SYNACK in my stress test (still hitting LISTENER spinlock of course, and the syn_wait spinlock)
I also converted the ICMP handlers a bit ahead of time :
They no longer need to get the LISTENER socket, and can use only a lookup in ehash table. No big deal if we ignore ICMP for requests socks before the final steps.
Eric Dumazet (8):
inet: cache listen_sock_qlen() and read rskq_defer_accept once
inet: remove sk_listener parameter from syn_ack_timeout()
inet: remove some sk_listener dependencies
net: convert syn_wait_lock to a spinlock
ipv4: tcp: handle ICMP messages on TCP_NEW_SYN_RECV request sockets
ipv6: tcp: handle ICMP messages on TCP_NEW_SYN_RECV request sockets
ipv4: dccp: handle ICMP messages on DCCP_NEW_SYN_RECV request sockets
ipv6: dccp: handle ICMP messages on DCCP_NEW_SYN_RECV request sockets
include/linux/dccp.h | 4 +- include/net/request_sock.h | 14 ++----- include/net/tcp.h | 3 +- net/core/request_sock.c | 14 +++---- net/dccp/dccp.h | 1 + net/dccp/ipv4.c | 72 +++++++++++++++++------------------ net/dccp/ipv6.c | 41 ++++---------------- net/ipv4/inet_connection_sock.c | 47 ++++++++++++----------- net/ipv4/inet_diag.c | 4 +- net/ipv4/tcp_ipv4.c | 81 ++++++++++++++++++++-------------------- net/ipv4/tcp_timer.c | 8 ++-- net/ipv6/inet6_connection_sock.c | 4 +- net/ipv6/tcp_ipv6.c | 47 ++++++----------------- 13 files changed, 146 insertions(+), 194 deletions(-)
Signature · 1 line
2.2.0.rc0.207.ga3a616c