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
..
2006-02-13 11:39:57 +01:00
2006-07-02 13:58:51 -07:00
2006-06-20 15:10:08 -07:00
2006-06-20 17:39:53 -07:00
2006-03-22 13:56:56 -08:00
2006-06-25 23:38:29 -07:00
2006-01-09 14:16:08 -08:00
2006-04-26 12:56:16 +01:00
2006-07-03 15:27:07 -07:00
2006-04-14 15:00:20 -07:00
2006-01-03 13:11:21 -08:00
2006-05-06 19:59:18 +01:00
2006-06-20 15:10:08 -07:00
2006-03-20 22:42:39 -08:00
2006-03-20 22:42:39 -08:00
2006-03-20 22:42:39 -08:00
2006-03-20 22:42:39 -08:00
2006-03-20 22:42:39 -08:00
2006-03-20 22:42:39 -08:00
2006-04-26 12:56:16 +01:00
2006-03-20 22:42:39 -08:00
2006-01-13 13:06:40 -08:00
2006-04-26 12:56:16 +01:00
2006-01-27 17:08:07 -05:00
2005-09-21 23:03:55 -04:00
2006-06-15 15:48:13 -04:00
2006-04-24 16:15:58 -04:00
2006-06-05 15:51:30 -04:00
2006-03-20 16:54:09 -08:00
2006-01-03 13:10:46 -08:00
2006-04-26 12:56:16 +01:00
2006-01-03 13:11:15 -08:00
2006-03-20 22:46:16 -08:00
2006-01-03 13:11:21 -08:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-05-06 19:59:18 +01:00
2006-01-03 13:10:31 -08:00
2006-06-30 14:12:10 -07:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-06-20 15:10:08 -07:00
2006-04-26 12:56:16 +01:00
2006-03-23 07:12:57 -05:00
2005-10-08 15:00:57 -07:00
2006-06-17 21:26:08 -07:00
2005-11-14 21:58:18 -08:00
2005-09-22 07:57:21 -03:00
2006-03-20 22:59:36 -08:00
2006-04-26 12:56:16 +01:00
2006-05-12 14:56:08 -07:00
2006-06-17 21:25:46 -07:00
2005-11-10 02:26:40 +01:00
2006-05-03 23:27:47 -07:00
2006-04-26 12:56:16 +01:00
2006-06-29 16:58:01 -07:00
2006-06-30 14:12:06 -07:00
2006-06-20 15:10:08 -07:00
2006-04-26 12:56:16 +01:00
2006-03-26 17:39:55 -08:00
2006-05-03 23:28:20 -07:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-06-29 16:58:06 -07:00
2006-07-03 15:27:10 -07:00
2005-09-14 08:36:54 -04:00
2006-06-30 14:12:10 -07:00
2006-01-03 13:10:57 -08:00
2006-06-30 14:12:08 -07:00
2006-01-03 13:10:54 -08:00
2006-01-03 13:10:38 -08:00
2006-01-03 13:11:21 -08:00
2006-03-22 00:01:31 -08:00
2006-04-09 22:37:18 -07:00
2006-06-17 21:28:43 -07:00