1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-14 14:55:41 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178587

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