Is MTX_CONTESTED evil?

Brian F. Feldman green at FreeBSD.org
Fri Mar 26 06:13:22 PST 2004


des at des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) wrote:
> "Brian F. Feldman" <green at FreeBSD.org> writes:
> > Well, that certainly explains the blitz of crashes I had to fix
> > recently!  Since INVARIANTS and WITNESS are on by default, it would
> > make sense to make ADAPTIVE_MUTEX default to catch more bugs.
> 
> Making ADAPTIVE_MUTEXES default will not catch more bugs, it will just
> piss off users.

What in the world you are talking about?  I didn't know that a large class 
of bugs existed on SMP, turned on ADAPTIVE_MUTEXES, and found those bugs.
QED.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\




More information about the freebsd-arch mailing list