aha/net/ipv6
Eric Dumazet 95f30b336b [UDP]: UDP can use sk_hash to speedup lookups
In a prior patch, I introduced a sk_hash field (__sk_common.skc_hash)  to let
tcp lookups use one cache line per unmatched entry instead of two.

We can also use sk_hash to speedup UDP part as well. We store in sk_hash the
hnum value, and use sk->sk_hash (same cache line than 'next' pointer),
instead of inet->num (different cache line)

Note : We still have a false sharing problem for SMP machines, because
sock_hold(sock) dirties the cache line containing the 'next' pointer. Not
counting the udp_hash_lock rwlock. (did someone mentioned RCU ? :) )

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-02-10 23:20:29 -08:00
..
netfilter [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
addrconf.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
af_inet6.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
ah6.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
anycast.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
datagram.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
esp6.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
exthdrs.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
exthdrs_core.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
fib6_rules.c [IPv6] rules: Remove bogus tos validation check 2006-12-02 21:22:12 -08:00
icmp.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
inet6_connection_sock.c [TCP]: Restore SKB socket owner setting in tcp_transmit_skb(). 2007-01-26 01:04:55 -08:00
inet6_hashtables.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
ip6_fib.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
ip6_flowlabel.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
ip6_input.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
ip6_output.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
ip6_tunnel.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
ipcomp6.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
ipv6_sockglue.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
ipv6_syms.c [IPV6] ADDRCONF: Convert addrconf_lock to RCU. 2006-09-22 15:20:26 -07:00
Kconfig [NET]: Rethink mark field in struct flowi 2006-12-02 21:21:39 -08:00
Makefile [NET]: Supporting UDP-Lite (RFC 3828) in Linux 2006-12-02 21:22:46 -08:00
mcast.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
mip6.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
ndisc.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
netfilter.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
proc.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
protocol.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
raw.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
reassembly.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
route.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
sit.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
sysctl_net_ipv6.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
tcp_ipv6.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
tunnel6.c [IPV6]: 'info' argument of ipv6 ->err_handler() is net-endian 2006-12-02 21:21:12 -08:00
udp.c [UDP]: UDP can use sk_hash to speedup lookups 2007-02-10 23:20:29 -08:00
udp_impl.h [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
udplite.c [NET]: Possible cleanups. 2006-12-02 21:31:51 -08:00
xfrm6_input.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
xfrm6_mode_beet.c [XFRM]: BEET mode 2006-10-04 00:31:09 -07:00
xfrm6_mode_ro.c [IPSEC]: output mode to take an xfrm state as input param 2006-09-22 15:18:48 -07:00
xfrm6_mode_transport.c [IPSEC]: output mode to take an xfrm state as input param 2006-09-22 15:18:48 -07:00
xfrm6_mode_tunnel.c [IPSEC]: IPv4 over IPv6 IPsec tunnel 2007-02-08 12:39:02 -08:00
xfrm6_output.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
xfrm6_policy.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
xfrm6_state.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
xfrm6_tunnel.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00