]> git.baikalelectronics.ru Git - kernel.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)
commit447f924a2ae93d3a2ff459414ac29b4763c4443e
tree5fca9e5e0cf31ce6f70c9df238b4516b08068cf4
parent24ec88fa899dbdb9df35376587f6c1177c833a70
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