Skip to content
Commit 91b6d325 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: cache align tcp_memory_allocated, tcp_sockets_allocated



tcp_memory_allocated and tcp_sockets_allocated often share
a common cache line, source of false sharing.

Also take care of udp_memory_allocated and mptcp_sockets_allocated.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c302e79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment