kernel_optimize_test/net/sctp
Herbert Xu 1e061ab2e5 [SCTP]: Replace spin_lock_irqsave with spin_lock_bh
This patch replaces the spin_lock_irqsave call on the receive queue
lock in SCTP with spin_lock_bh.  Despite the proliferation of
spin_lock_irqsave calls in this stack, it is only entered from the
IPv4/IPv6 stack and user space.  That is, it is never entered from
hardirq context.

The call in question is only called from recvmsg which means that
IRQs aren't disabled.  Therefore it is safe to replace it with
spin_lock_bh.
 
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-06-18 22:56:42 -07:00
..
associola.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bind_addr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chunk.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
command.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crc32c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
endpointola.c [SCTP] Fix SCTP sendbuffer accouting. 2005-04-28 12:02:04 -07:00
input.c [SCTP] Support SO_BINDTODEVICE socket option on incoming packets. 2005-06-13 15:11:24 -07:00
inqueue.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipv6.c [SCTP] Fix incorrect setting of sk_bound_dev_if when binding/sending to a ipv6 2005-06-13 15:13:05 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
objcnt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
output.c [SCTP] Replace incorrect use of dev_alloc_skb with alloc_skb in sctp_packet_transmit(). 2005-04-28 12:00:23 -07:00
outqueue.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
primitive.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
proc.c [SCTP] Extend the info exported via /proc/net/sctp to support netstat for SCTP. 2005-06-13 15:11:57 -07:00
protocol.c [SCTP] Add support for ip_nonlocal_bind sysctl & IP_FREEBIND socket option 2005-06-13 15:12:33 -07:00
sm_make_chunk.c [SCTP] Implement Sec 2.41 of SCTP Implementers guide. 2005-04-28 11:58:43 -07:00
sm_sideeffect.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sm_statefuns.c [SCTP] Implement Sec 2.41 of SCTP Implementers guide. 2005-04-28 11:58:43 -07:00
sm_statetable.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
socket.c [SCTP]: Replace spin_lock_irqsave with spin_lock_bh 2005-06-18 22:56:42 -07:00
ssnmap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysctl.c [SCTP] Fix SCTP sendbuffer accouting. 2005-04-28 12:02:04 -07:00
transport.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tsnmap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ulpevent.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ulpqueue.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00