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-11-03 02:48:48 -08:00
2008-11-03 00:26:09 -08:00
2008-11-03 18:21:05 -08:00
2008-11-19 22:42:41 -08:00
2008-10-07 08:38:24 +11:00
2008-10-07 08:38:24 +11:00
2008-11-03 18:21:05 -08:00
2008-11-02 00:28:10 -07:00
2008-11-12 01:41:09 -08:00
2008-11-16 19:39:21 -08:00