tcp: move few fields for data locality
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 8 repliesApplied 8/8
- v17 patches 1 replySuperseded
Patches in v2 All 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | net: move sk_uid and sk_protocol to sock_read_txinclude/ net/ | +5 | 1 reply | Applied |
| 2/8 | net: move sk->sk_err_soft and sk->sk_sndbufinclude/ net/ net/ | +6 | 1 reply | Applied |
| 3/8 | tcp: remove CACHELINE_ASSERT_GROUP_SIZE() usesnet/ | +0 | 1 reply | Applied |
| 4/8 | tcp: move tcp->rcv_tstamp to tcp_sock_write_txrx groupDocumentation/ include/ net/ | +4 | 1 reply | Applied |
| 5/8 | tcp: move recvmsg_inq to tcp_sock_read_txrxDocumentation/ include/ | +3 | 1 reply | Applied |
| 6/8 | tcp: move tcp_clean_acked to tcp_sock_read_tx groupDocumentation/ include/ net/ | +7 | 1 reply | Applied |
| 7/8 | tcp: move mtu_info to remove two 32bit holesinclude/ | +3 | 1 reply | Applied |
| 8/8 | tcp: reclaim 8 bytes in struct request_sock_queueinclude/ net/ | +3 | 1 reply | Applied |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Kuniyuki Iwashima |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | R-b |
| 7/8 | R-b |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 net-next 0/8] tcp: move few fields for data locality
After recent additions (PSP and AccECN) I wanted to make another round on fields locations to increase data locality.
This series manages to shrink TCP and TCPv6 objects by 128 bytes, but more importantly should reduce number of touched cache lines in TCP fast paths.
There is more to come.
v2: removed tcp CACHELINE_ASSERT_GROUP_SIZE after a kernel build bot reported an error.
Eric Dumazet (8):
net: move sk_uid and sk_protocol to sock_read_tx
net: move sk->sk_err_soft and sk->sk_sndbuf
tcp: remove CACHELINE_ASSERT_GROUP_SIZE() uses
tcp: move tcp->rcv_tstamp to tcp_sock_write_txrx group
tcp: move recvmsg_inq to tcp_sock_read_txrx
tcp: move tcp_clean_acked to tcp_sock_read_tx group
tcp: move mtu_info to remove two 32bit holes
tcp: reclaim 8 bytes in struct request_sock_queue
.../networking/net_cachelines/tcp_sock.rst | 6 +++--- include/linux/tcp.h | 20 +++++++++---------- include/net/request_sock.h | 2 +- include/net/sock.h | 10 +++++----- net/core/sock.c | 5 ++++- net/ipv4/tcp.c | 20 ++++--------------- net/ipv4/tcp_input.c | 7 ++++--- 7 files changed, 31 insertions(+), 39 deletions(-)
Signature · 1 line
2.51.0.470.ga7dc726c21-goog