Al Viro
7a39f52202
[PATCH] sparc32 rwlock fix
...
read_trylock() is broken on sparc32 (doesn't build and didn't work
right, actually). Proposed fix:
- make "writer holds lock" distinguishable from "reader tries to grab
lock"
- have __raw_read_trylock() try to acquire the mutex (in LSB of lock),
terminating spin if we see that there's writer holding it. Then do
the rest as we do in read_lock().
Thanks to Ingo for discussion...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-08 12:32:35 -07:00
..
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-03-26 08:57:14 -08:00
2005-10-05 07:33:42 -07:00
2006-04-26 12:56:16 +01:00
2006-01-08 20:13:39 -08:00
2006-04-26 12:56:16 +01:00
2006-03-23 22:36:19 -08:00
2005-10-03 17:37:02 -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-23 23:15:47 -07:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-10-08 12:32:35 -07:00
2006-01-08 20:13:39 -08:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-03-20 01:12:08 -08:00
2006-06-25 23:24:24 -07:00
2005-10-03 17:37:02 -07:00
2006-10-08 12:32:35 -07:00
2006-10-08 12:32:35 -07:00
2006-09-21 08:48:27 +01:00
2005-10-03 17:37:02 -07:00
2005-10-03 17:37:02 -07:00
2005-12-15 10:01:29 -08:00
2006-09-08 08:40:46 -07:00
2006-04-26 12:56:16 +01:00
2005-10-03 17:37:02 -07:00
2006-01-09 15:59:19 -08:00
2005-10-03 17:37:02 -07:00
2005-10-03 17:37:02 -07:00
2006-06-29 16:37:40 -07:00
2006-07-21 14:17:55 -07:00
2006-09-21 08:48:27 +01:00
2006-06-23 23:15:45 -07:00
2005-10-03 17:37:02 -07:00
2005-12-15 10:01:28 -08:00
2006-04-26 12:56:16 +01:00
2006-09-26 08:48:51 -07:00
2005-10-03 17:37:02 -07:00
2006-03-25 08:22:56 -08:00
2005-10-03 17:37:02 -07:00
2006-06-29 16:37:25 -07:00
2005-10-03 17:37:02 -07:00
2005-11-07 07:53:42 -08:00
2006-10-03 23:01:26 +02:00
2005-10-03 17:37:02 -07:00
2006-06-23 23:15:50 -07:00
2005-10-30 17:37:27 -08:00
2006-04-26 12:56:16 +01:00
2006-07-24 22:34:00 -07:00
2006-06-20 17:39:28 -07:00
2005-10-03 17:37:02 -07:00
2006-06-29 16:58:06 -07:00
2006-10-08 12:32:35 -07:00
2006-07-14 21:56:14 -07:00
2005-11-07 14:10:42 -08:00
2006-01-19 02:42:49 -08:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2005-10-03 17:37:02 -07:00
2006-03-20 01:13:15 -08:00
2006-10-02 07:57:23 -07:00
2006-04-26 12:56:16 +01:00
2006-04-11 06:18:54 -07:00
2006-04-26 12:56:16 +01:00