Date: Tue, 09 Jan 2001 09:48:31 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Julian Elischer <julian@elischer.org> Cc: freebsd-hackers@FreeBSD.org, Robert Lipe <robertlipe@usa.net> Subject: Re: kthread_exit & zombification Message-ID: <XFMail.010109094831.jhb@FreeBSD.org> In-Reply-To: <Pine.BSF.4.10.10101090445470.88460-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010109094831.jhb>