[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: FreeBSD 10.0 adaptive mutex with strange mtx_lock value = panic
From:       Darren Reed <darrenr () freebsd ! org>
Date:       2014-06-15 2:14:56
Message-ID: 539D01A0.50506 () freebsd ! org
[Download RAW message or body]

On 14/06/2014 8:10 PM, Chris Torek wrote:
>> 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.

Thanks and yes, I think you're right.

Too bad we can't build that logic into the conf files.

Darren


_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic