Files
linux/net/ipv4
Eric Dumazet 15492700ac tcp: cache RTAX_QUICKACK metric in a hot cache line
tcp_in_quickack_mode() is called from input path for small packets.

It calls __sk_dst_get() which reads sk->sk_dst_cache which has been
put in sock_read_tx group (for good reasons).

Then dst_metric(dst, RTAX_QUICKACK) also needs extra cache line misses.

Cache RTAX_QUICKACK in icsk->icsk_ack.dst_quick_ack to no longer pull
these cache lines for the cases a delayed ACK is scheduled.

After this patch TCP receive path does not longer access sock_read_tx
group.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250312083907.1931644-1-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-18 13:44:59 +01:00
..
2025-02-19 19:05:28 -08:00
2025-03-17 13:56:38 +00:00
2024-09-09 17:21:47 -07:00
2025-01-02 17:17:40 -08:00
2024-07-30 18:35:12 -07:00
2024-01-04 10:23:10 -08:00
2021-05-17 15:29:35 -07:00
2025-02-18 18:27:19 -08:00
2025-03-17 13:54:11 +00:00
2025-03-17 13:56:38 +00:00
2025-03-03 15:44:19 -08:00
2025-03-17 13:56:38 +00:00
2022-12-20 03:13:45 +01:00
2025-02-14 13:09:39 -08:00
2025-03-17 13:54:11 +00:00
2023-09-14 16:16:36 +02:00