]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tcp: reorder tcp_congestion_ops for better cache locality
authorEric Dumazet <edumazet@google.com>
Fri, 2 Apr 2021 18:10:37 +0000 (11:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Apr 2021 21:32:27 +0000 (14:32 -0700)
commit82506665179209e43d3c9d39ffa42f8c8ff968bd
tree5fca9e5e0cf31ce6f70c9df238b4516b08068cf4
parent7f040aa322617acf1978b8de140f1bf9ff916617
tcp: reorder tcp_congestion_ops for better cache locality

Group all the often used fields in the first cache line,
to reduce cache line misses.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h