From owner-freebsd-hackers Tue Jan 9 9:49:14 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id B097037B6D5 for ; Tue, 9 Jan 2001 09:48:57 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id f09HkJG65166; Tue, 9 Jan 2001 09:46:19 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 09 Jan 2001 09:48:31 -0800 (PST) From: John Baldwin To: Julian Elischer Subject: Re: kthread_exit & zombification Cc: freebsd-hackers@FreeBSD.org, Robert Lipe Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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