Home
last modified time | relevance | path

Searched hist:"9 db66bdcc83749affe61c61eb8ff3cf08f42afec" (Results 1 – 5 of 5) sorted by relevance

/linux/include/net/
H A Dinet_hashtables.hdiff 94cd3e6cbebf85903b4d53ed2147bdb4c6e08625 Wed Jan 28 02:45:10 CET 2009 Eric Dumazet <dada1@cosmosbay.com> net: wrong test in inet_ehash_locks_alloc()

In commit 9db66bdcc83749affe61c61eb8ff3cf08f42afec (net: convert
TCP/DCCP ehash rwlocks to spinlocks), I forgot to change one
occurrence of rwlock_t to spinlock_t

I believe sizeof(raw_spinlock_t) might be > 0 on !CONFIG_SMP if
CONFIG_DEBUG_SPINLOCK while sizeof(raw_rwlock_t) should be 0 in this
case.

Fortunatly, CONFIG_DEBUG_SPINLOCK adds fields to both spinlock_t and
rwlock_t, but at this might change in the future (being able to debug
spinlocks but not rwlocks for example), better to be safe.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
diff 9db66bdcc83749affe61c61eb8ff3cf08f42afec Fri Nov 21 05:39:09 CET 2008 Eric Dumazet <dada1@cosmosbay.com> 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>
/linux/net/ipv4/
H A Dinet_timewait_sock.cdiff 9db66bdcc83749affe61c61eb8ff3cf08f42afec Fri Nov 21 05:39:09 CET 2008 Eric Dumazet <dada1@cosmosbay.com> 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>
H A Dinet_hashtables.cdiff 9db66bdcc83749affe61c61eb8ff3cf08f42afec Fri Nov 21 05:39:09 CET 2008 Eric Dumazet <dada1@cosmosbay.com> 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>
H A Dtcp_ipv4.cdiff 9db66bdcc83749affe61c61eb8ff3cf08f42afec Fri Nov 21 05:39:09 CET 2008 Eric Dumazet <dada1@cosmosbay.com> 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>
/linux/net/ipv6/
H A Dinet6_hashtables.cdiff 9db66bdcc83749affe61c61eb8ff3cf08f42afec Fri Nov 21 05:39:09 CET 2008 Eric Dumazet <dada1@cosmosbay.com> 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>