Eric Dumazet 5caea4ea70 net: listening_hash get a spinlock per bucket
This patch prepares RCU migration of listening_hash table for
TCP/DCCP protocols.

listening_hash table being small (32 slots per protocol), we add
a spinlock for each slot, instead of a single rwlock for whole table.

This should reduce hold time of readers, and writers concurrency.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-20 00:40:07 -08:00
..
2008-11-03 18:21:05 -08:00
2008-10-29 12:52:50 -07:00
2008-10-13 18:54:07 -07:00
2008-10-29 12:52:50 -07:00
2008-11-12 22:59:21 -08:00
2008-10-29 12:52:50 -07:00
2008-10-29 12:52:50 -07:00
2008-10-29 12:52:50 -07:00
2008-11-12 22:59:21 -08:00
2008-06-11 21:00:38 -07:00
2008-11-03 18:21:05 -08:00
2008-11-03 18:21:05 -08:00
2008-11-16 19:39:21 -08:00