Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2005 13:47:53 +0100
From:      Joel Dahl <joel@automatvapen.se>
To:        Mipam <mipam@ibb.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: using ADAPTIVE_MUTEXES savely?
Message-ID:  <1108126073.486.5.camel@dude.automatvapen.se>
In-Reply-To: <Pine.BSO.4.56.0502111241130.31006@ux11.ltcm.net>
References:  <Pine.BSO.4.56.0502111241130.31006@ux11.ltcm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1108126073.486.5.camel>