linux/net/ipv4
Eric Dumazet 0ed8ddf404 neigh: Protect neigh->ha[] with a seqlock
Add a seqlock in struct neighbour to protect neigh->ha[], and avoid
dirtying neighbour in stress situation (many different flows / dsts)

Dirtying takes place because of read_lock(&n->lock) and n->used writes.

Switching to a seqlock, and writing n->used only on jiffies changes
permits less dirtying.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-11 12:54:04 -07:00
..
netfilter Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-09-27 01:03:03 -07:00
af_inet.c
ah4.c
arp.c neigh: Protect neigh->ha[] with a seqlock 2010-10-11 12:54:04 -07:00
cipso_ipv4.c
datagram.c
devinet.c
esp4.c
fib_frontend.c fib: RCU conversion of fib_lookup() 2010-10-05 20:39:38 -07:00
fib_hash.c fib: RCU conversion of fib_lookup() 2010-10-05 20:39:38 -07:00
fib_lookup.h fib: RCU conversion of fib_lookup() 2010-10-05 20:39:38 -07:00
fib_rules.c fib: RCU conversion of fib_lookup() 2010-10-05 20:39:38 -07:00
fib_semantics.c fib: RCU conversion of fib_lookup() 2010-10-05 20:39:38 -07:00
fib_trie.c fib: RCU conversion of fib_lookup() 2010-10-05 20:39:38 -07:00
gre.c gre: protocol table can be static 2010-10-03 21:50:51 -07:00
icmp.c
igmp.c bonding: fix to rejoin multicast groups immediately 2010-10-05 20:26:57 -07:00
inet_connection_sock.c
inet_diag.c
inet_fragment.c
inet_hashtables.c
inet_lro.c
inet_timewait_sock.c
inetpeer.c
ip_forward.c
ip_fragment.c
ip_gre.c net: add a core netdev->rx_dropped counter 2010-10-05 14:47:55 -07:00
ip_input.c
ip_options.c
ip_output.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-09-27 01:03:03 -07:00
ip_sockglue.c
ipcomp.c
ipconfig.c
ipip.c net: add a core netdev->rx_dropped counter 2010-10-05 14:47:55 -07:00
ipmr.c ipmr: cleanups 2010-10-03 21:50:53 -07:00
Kconfig Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-10-04 11:56:38 -07:00
Makefile
netfilter.c
proc.c
protocol.c
raw.c
route.c ipv4: Remove leftover rcu_read_unlock calls from __mkroute_output() 2010-10-08 10:51:08 -07:00
syncookies.c
sysctl_net_ipv4.c
tcp.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-10-04 11:56:38 -07:00
tcp_bic.c
tcp_cong.c
tcp_cubic.c
tcp_diag.c
tcp_highspeed.c
tcp_htcp.c
tcp_hybla.c
tcp_illinois.c
tcp_input.c TCP: Fix setting of snd_ssthresh in tcp_mtu_probe_success 2010-10-06 21:18:02 -07:00
tcp_ipv4.c
tcp_lp.c
tcp_minisocks.c
tcp_output.c
tcp_probe.c
tcp_scalable.c
tcp_timer.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-10-04 11:56:38 -07:00
tcp_vegas.c
tcp_vegas.h
tcp_veno.c
tcp_westwood.c
tcp_yeah.c
tunnel4.c
udp.c
udp_impl.h
udplite.c
xfrm4_input.c
xfrm4_mode_beet.c
xfrm4_mode_transport.c
xfrm4_mode_tunnel.c
xfrm4_output.c
xfrm4_policy.c
xfrm4_state.c
xfrm4_tunnel.c