diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2008-04-26 13:19:07 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2008-04-26 13:19:07 +0000 |
commit | dd77f9f7f2fe797ea674499c339248f5b5ca0664 (patch) | |
tree | b247a7973a8548756e59ff5aeab7380a422fad44 /lib/libthr | |
parent | 5894445dadcf2160e50eaeead4f46aae5e5fa6c1 (diff) | |
download | src-dd77f9f7f2fe797ea674499c339248f5b5ca0664.tar.gz src-dd77f9f7f2fe797ea674499c339248f5b5ca0664.zip |
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
Notes
Notes:
svn path=/head/; revision=178587
Diffstat (limited to 'lib/libthr')
-rw-r--r-- | lib/libthr/thread/thr_mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c index a3f6c1d56b60..0f593f0b733c 100644 --- a/lib/libthr/thread/thr_mutex.c +++ b/lib/libthr/thread/thr_mutex.c @@ -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 |