Matthew Dillon
f94f8efc61
Optimize two cases in the MP locking code. First, it is not necessary
...
to use a locked cmpexg when unlocking a lock that we already hold, since
nobody else can touch the lock while we hold it. Second, it is not
necessary to use a locked cmpexg when locking a lock that we already
hold, for the same reason. These changes will allow MP locks to be used
recursively without impacting performance.
Modify two procedures that are called only by assembly and are already
NOPROF entries to pass a critical argument in %edx instead of on the
stack, removing a significant amount of code from the critical path
as a consequence.
Reviewed by: Alfred Perlstein <bright@wintelcom.net>, Peter Wemm <peter@netplex.com.au>
1999-11-19 22:47:19 +00:00
..
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-11-19 16:49:30 +00:00
1999-11-19 16:49:30 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1996-09-21 14:59:43 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-11-19 16:49:30 +00:00
1999-10-04 16:24:08 +00:00
1999-08-28 01:08:13 +00:00
1999-11-14 03:36:34 +00:00
1999-11-14 03:36:34 +00:00
1999-08-28 01:08:13 +00:00
1999-11-14 03:36:34 +00:00
1999-08-28 01:08:13 +00:00
1999-11-14 03:36:34 +00:00
1999-08-28 01:08:13 +00:00
1999-10-30 14:56:01 +00:00
1999-08-28 01:08:13 +00:00
1999-06-22 14:14:06 +00:00
1999-08-28 01:08:13 +00:00
1999-11-15 19:45:19 +00:00
1999-08-28 01:08:13 +00:00
1998-02-03 20:07:02 +00:00
1999-10-04 13:55:35 +00:00
1998-02-03 20:14:35 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-09-29 15:06:27 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1996-09-21 14:59:43 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1996-09-21 14:59:43 +00:00
1999-08-28 01:08:13 +00:00
1996-09-21 14:59:43 +00:00
1999-08-28 01:08:13 +00:00
1999-11-19 22:47:19 +00:00
1999-08-28 01:08:13 +00:00
1999-10-11 20:33:17 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-10-15 21:38:15 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-09-22 05:48:31 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-03-04 10:50:36 +00:00
1999-08-28 01:08:13 +00:00
1999-09-11 20:31:32 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-10-14 21:38:33 +00:00
1999-08-28 01:08:13 +00:00
1999-09-29 15:06:27 +00:00
1999-08-28 01:08:13 +00:00
1999-11-12 11:21:34 +00:00
1999-11-12 13:52:11 +00:00
1999-08-28 01:08:13 +00:00
1999-09-25 18:36:31 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-09-10 15:51:44 +00:00
1996-09-21 14:59:43 +00:00
1999-08-28 01:08:13 +00:00
1999-09-02 20:59:50 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
1999-10-11 20:33:17 +00:00
1999-01-01 08:23:23 +00:00
1999-08-28 01:08:13 +00:00
1999-09-02 20:59:50 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00