Re: [PATCH net-next] tcp: add tcp_inet6_sk() helper

2019-03-19 Thread David Miller
From: Eric Dumazet Date: Tue, 19 Mar 2019 07:01:08 -0700 > TCP ipv6 fast path dereferences a pointer to get to the inet6 > part of a tcp socket, but given the fixed memory placement, > we can do better and avoid a possible cache line miss. > > This also reduces register pressure, since we let th

[PATCH net-next] tcp: add tcp_inet6_sk() helper

2019-03-19 Thread Eric Dumazet
TCP ipv6 fast path dereferences a pointer to get to the inet6 part of a tcp socket, but given the fixed memory placement, we can do better and avoid a possible cache line miss. This also reduces register pressure, since we let the compiler know about this memory placement. Signed-off-by: Eric Dum