John Baldwin bdcfcf5bc4 Cache the value of curthread in the _get_sleep_lock() and _get_spin_lock()
macros and pass the value to the associated _mtx_*() functions to avoid
more curthread dereferences in the function implementations.  This provided
a very modest perf improvement in some benchmarks.

Suggested by:	rwatson
Tested by:	scottl
2004-08-04 20:18:45 +00:00
..
2004-06-17 17:16:53 +00:00
2004-07-10 21:36:01 +00:00
2004-08-03 02:23:06 +00:00
2004-07-30 01:30:05 +00:00
2004-07-28 06:42:41 +00:00
2004-06-21 22:34:57 +00:00
2004-07-13 19:36:59 +00:00
2004-07-28 06:42:41 +00:00
2004-07-10 21:43:23 +00:00
2004-07-13 19:36:59 +00:00
2004-05-30 20:34:58 +00:00
2004-05-30 20:34:58 +00:00
2004-07-28 06:42:41 +00:00
2004-07-10 21:43:23 +00:00
2004-06-17 17:16:53 +00:00
2004-05-30 20:34:58 +00:00