Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2014 04:10:55 -0600
From:      Chris Torek <torek@torek.net>
To:        Darren Reed <darrenr@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, Mateusz Guzik <mjguzik@gmail.com>
Subject:   Re: FreeBSD 10.0 adaptive mutex with strange mtx_lock value = panic
Message-ID:  <201406141010.s5EAAtS0087393@elf.torek.net>
In-Reply-To: Your message of "Sat, 14 Jun 2014 19:43:53 %2B1000." <539C1959.30203@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>I added "options INVARIANTS" to a kernel and recompiled..
>
>Well, I tried to recompile - compiling ends like this:
>
>cam_periph.o: In function `cam_periph_find':
>/usr/src/sys/amd64/compile/DEBUG/../../../cam/cam_periph.c:301:
>undefined reference to `__mtx_assert'
[etc]

The INVARIANTS option requires the INVARIANT_SUPPORT option.

I believe INVARIANTS ought to just automatically turn on
INVARIANT_SUPPORT, really.  But it's pretty minor, once you
know.

Chris



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