diff options
author | Eric Dumazet <edumazet@google.com> | 2015-03-22 20:22:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-23 23:52:26 +0300 |
commit | 8b929ab12fb2ab960adb3c3ec8d107fef5ff3243 (patch) | |
tree | f7a120b6013469c24d376aefd3935667085f1878 /net/core/request_sock.c | |
parent | 42cb80a2353f42913ae78074ffa1f1b4a49e5436 (diff) | |
download | linux-8b929ab12fb2ab960adb3c3ec8d107fef5ff3243.tar.xz |
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/core/request_sock.c')
0 files changed, 0 insertions, 0 deletions