diff options
author | Eric Dumazet <edumazet@google.com> | 2021-10-25 19:48:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-29 14:28:42 +0300 |
commit | 8e096cffc6d35437bc4b8a7b2d6734413675239c (patch) | |
tree | a9d60463f1db1d6298330f06169d30a403edeaef /net/ipv6/udp.c | |
parent | e69eacf74e15cffa4da537f538f598d13a37be96 (diff) | |
download | linux-8e096cffc6d35437bc4b8a7b2d6734413675239c.tar.xz |
tcp: move inet->rx_dst_ifindex to sk->sk_rx_dst_ifindex
[ Upstream commit 0c0a5ef809f9150e9229e7b13e43183b681b7a39 ]
Increase cache locality by moving rx_dst_ifindex next to sk->sk_rx_dst
This is part of an effort to reduce cache line misses in TCP fast path.
This removes one cache line miss in early demux.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ipv6/udp.c')
0 files changed, 0 insertions, 0 deletions