K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-08-04T20:18:45.000000Z K 7 svn:log V 315 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 END