John Baldwin 535eb30962 Add a new kernel option MUTEX_WAKE_ALL that changes the mutex unlock code
to awaken all waiters when a contested mutex is released instead of just
the highest priority waiter.  If the various threads are awakened in
sequence then each thread may acquire and release the lock in question
without contention resulting in fewer expensive unlock and lock
operations.  This old behavior of waking just the highest priority is
still used if this option is specified.  Making the algorithm conditional
on a kernel option will allows us to benchmark both cases later and
determine which one should be used by default.

Requested by:	tanimura-san
2004-04-06 19:12:24 +00:00
..
2004-03-22 13:37:11 +00:00
2004-03-22 15:45:17 +00:00
2003-09-30 03:49:09 +00:00
2004-03-14 23:03:57 +00:00
2004-03-14 23:03:57 +00:00