diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-11-20 00:40:07 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-20 00:40:07 -0800 |
commit | 5caea4ea7088e80ac5410d04660346094608b909 (patch) | |
tree | fad95133683c002d24ff5de7fb756dad806b41ed /fs/jfs | |
parent | d8b83c57a7e497cba9b5cb156e63176323035785 (diff) | |
download | linux-3.10-5caea4ea7088e80ac5410d04660346094608b909.tar.gz linux-3.10-5caea4ea7088e80ac5410d04660346094608b909.tar.bz2 linux-3.10-5caea4ea7088e80ac5410d04660346094608b909.zip |
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>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions