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-12 23:33:57 -08:00
2008-11-03 18:21:05 -08:00
2008-11-19 22:42:41 -08:00
2008-11-03 18:21:05 -08:00
2008-11-19 22:42:38 -08:00
2008-11-19 21:40:23 -08:00
2008-11-03 18:21:05 -08:00
2008-09-30 03:03:35 -07:00
2008-11-03 18:21:05 -08:00
2008-10-31 00:54:56 -07:00
2008-11-03 18:21:05 -08:00
2008-11-03 18:21:05 -08:00
2008-10-31 00:54:56 -07:00
2008-11-03 18:21:05 -08:00
2005-04-16 15:20:36 -07:00