summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/coverage.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-07-27 16:34:48 +0000
committerrwatson <rwatson@FreeBSD.org>2004-07-27 16:34:48 +0000
commit1fea905f48b810e78f2b9c5eafe9cec45fcfdf2a (patch)
tree4a46084745b159ef6305e1f8611e6177411c9b5d /contrib/gcc/coverage.c
parent1c9892680c965f2cef6dfb2ebbb9fa53b110b4c3 (diff)
downloadFreeBSD-src-1fea905f48b810e78f2b9c5eafe9cec45fcfdf2a.zip
FreeBSD-src-1fea905f48b810e78f2b9c5eafe9cec45fcfdf2a.tar.gz
Add "options ADAPTIVE_GIANT" which causes Giant to also be treated in
an adaptive fashion when adaptive mutexes are enabled. The theory behind non-adaptive Giant is that Giant will be held for long periods of time, and therefore spinning waiting on it is wasteful. However, in MySQL benchmarks which are relatively Giant-free, running Giant adaptive makes an observable difference on SMP (5% transaction rate improvement). As such, make adaptive behavior on Giant an option so it can be more widely benchmarked.
Diffstat (limited to 'contrib/gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud