On 23-Feb-01 Julian Elischer wrote:
Kris Kennaway wrote:
On Fri, Feb 23, 2001 at 01:57:36AM -0800, Julian Elischer wrote:
Apparently this was never tested: early in the boot phase I get the
panic: spin lock netgraph worklist mutex not in order list
and indeed the witness code appears to have no knowledge of the
so how is it supposed to know?
From what I can gather, you add the locking hierarchy to be enforced
to spin_order_list in kern.mutex.c
hmm tricky.. I thought initiating the damned thing would insert it.
For sleep mutexes it is automatic, yes. Spin mutexes are intended to only be
used in very low level code and thus only in places where the order can be
easily laid out.
John Baldwin <jh...@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message