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
..
2010-05-17 23:23:12 -07:00
2010-08-21 23:40:14 -07:00
2010-10-05 00:40:39 -07:00
2010-08-24 14:48:10 -07:00
2008-03-17 22:46:46 -07:00
2010-05-17 23:23:12 -07:00
2010-09-12 11:56:44 -07:00