Increase the default MUTEX_ADAPTIVE_SPINS to 2000, after further

testing it turns out 200 was too short to give good adaptive
performance.

Reviewed by:   jeff
MFC after:     1 week
This commit is contained in:
Kris Kennaway 2008-04-26 13:19:07 +00:00
parent 5894445dad
commit dd77f9f7f2

View File

@ -69,7 +69,7 @@
* For adaptive mutexes, how many times to spin doing trylock2
* before entering the kernel to block
*/
#define MUTEX_ADAPTIVE_SPINS 200
#define MUTEX_ADAPTIVE_SPINS 2000
/*
* Prototypes