summary refs log tree commit diff
path: root/net/ipv6/inet6_connection_sock.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-03-22 10:22:20 -0700
committerDavid S. Miller <davem@davemloft.net>2015-03-23 16:52:26 -0400
commit8b929ab12fb2ab960adb3c3ec8d107fef5ff3243 (patch)
treef7a120b6013469c24d376aefd3935667085f1878 /net/ipv6/inet6_connection_sock.c
parent42cb80a2353f42913ae78074ffa1f1b4a49e5436 (diff)
downloadlinux-8b929ab12fb2ab960adb3c3ec8d107fef5ff3243.tar.gz
inet: remove some sk_listener dependencies
listener can be source of false sharing. request sock has some
useful information like : ireq->ir_iif, ireq->ir_num, ireq->ireq_net

This patch does not solve the major problem of having to read
sk->sk_protocol which is sharing a cache line with sk->sk_wmem_alloc.
(This same field is read later in ip_build_and_send_pkt())

One idea would be to move sk_protocol close to sk_family
(using 8 bits instead of 16 for sk_family seems enough)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/inet6_connection_sock.c')
0 files changed, 0 insertions, 0 deletions