On 09-Jan-01 Julian Elischer wrote:
>
>
> On Mon, 8 Jan 2001, John Baldwin wrote:
>>
>> Unloading modules adds all sorts of new problems. Right now the WITNESS
>> code
>> will do bad bad things if you kldunload a module that contains a mutex.
>> Even
>> if the mutex is mtx_destroy'd because it still has a reference to its name
>> in
>> the internal lists it keeps.
>>
>
> what?
> I have mutexes in structures I free()..
> I presumed doing a mtx_destroy() would be enough!
It is enough, the witness code is just broken right now.
--
John Baldwin <[EMAIL PROTECTED]> -- 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message