diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-11-21 05:39:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-21 05:39:09 +0100 |
commit | 9db66bdcc83749affe61c61eb8ff3cf08f42afec (patch) | |
tree | 81bb20e4f569d3b44731498428277db9d77fa7a9 /drivers/net/ixgbe/ixgbe_ethtool.c | |
parent | ipgre: convert to netdevice_ops (diff) | |
download | linux-9db66bdcc83749affe61c61eb8ff3cf08f42afec.tar.xz linux-9db66bdcc83749affe61c61eb8ff3cf08f42afec.zip |
net: convert TCP/DCCP ehash rwlocks to spinlocks
Now TCP & DCCP use RCU lookups, we can convert ehash rwlocks to spinlocks.
/proc/net/tcp and other seq_file 'readers' can safely be converted to 'writers'.
This should speedup writers, since spin_lock()/spin_unlock()
only use one atomic operation instead of two for write_lock()/write_unlock()
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_ethtool.c')
0 files changed, 0 insertions, 0 deletions