using ADAPTIVE_MUTEXES savely?

Joel Dahl joel at automatvapen.se
Fri Feb 11 04:47:49 PST 2005


On Fri, 2005-02-11 at 12:44 +0100, Mipam wrote:
> Hi,
> 
> Does anybody run with the kernel option ADAPTIVE_MUTEXES
> in RELENG_5 yet? Is it safe to use or should be used with care?

There is no ADAPTIVE_MUTEXES option in RELENG_5 AFAIK, since it's
enabled by default.  You can however use NO_ADAPTIVE_MUTEXES to disable
it.

>From src/sys/conf/NOTES:
"
# ADAPTIVE_MUTEXES changes the behavior of blocking mutexes to spin
# if the thread that currently owns the mutex is executing on another
# CPU.  This behaviour is enabled by default, so this option can be used
# to disable it.
options         NO_ADAPTIVE_MUTEXES
"

--
Joel



More information about the freebsd-stable mailing list