linux-stable-rt/net/core
Ingo Molnar a5b5bb9a05 [PATCH] lockdep: annotate sk_locks
Teach sk_lock semantics to the lock validator.  In the softirq path the
slock has mutex_trylock()+mutex_unlock() semantics, in the process context
sock_lock() case it has mutex_lock()/mutex_unlock() semantics.

Thus we treat sock_owned_by_user() flagged areas as an exclusion area too,
not just those areas covered by a held sk_lock.slock.

Effect on non-lockdep kernels: minimal, sk_lock_sock_init() has been turned
into an inline function.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-03 15:27:10 -07:00
..
Makefile
datagram.c
dev.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dev_mcast.c
dst.c
dv.c
ethtool.c
filter.c
flow.c
gen_estimator.c
gen_stats.c
iovec.c
link_watch.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
neighbour.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
net-sysfs.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
netpoll.c [NET] netpoll: break recursive loop in netpoll rx path 2006-06-26 00:04:27 -07:00
pktgen.c
request_sock.c
rtnetlink.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
scm.c
skbuff.c [PATCH] lockdep: annotate skb_queue_head_init 2006-07-03 15:27:07 -07:00
sock.c [PATCH] lockdep: annotate sk_locks 2006-07-03 15:27:10 -07:00
stream.c
sysctl_net_core.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
user_dma.c
utils.c
wireless.c