Kernel panics with debug.witness_watch=0

2001-06-28 Thread Alexander N. Kabaev
-CURRENT kernel panics when booting with debug.witness_watch tunable set to 0 in loader. It looks like witness_assert function should not do anything in this case. Attached patch fixes the problem for me. The panic I am getting looks like that: panic: Lock (sx) fork list not locked @

RE: Kernel panics with debug.witness_watch=0

2001-06-28 Thread John Baldwin
On 28-Jun-01 Alexander N. Kabaev wrote: -CURRENT kernel panics when booting with debug.witness_watch tunable set to 0 in loader. It looks like witness_assert function should not do anything in this case. Attached patch fixes the problem for me. Ok. Committed, thanks. -- John Baldwin