Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2001 20:28:23 -0600
From:      Robert Lipe <robertlipe@usa.net>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: kthread_exit & zombification
Message-ID:  <20010108202823.A10376@rjlhome.sco.com>
In-Reply-To: <XFMail.010108174135.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Mon, Jan 08, 2001 at 05:41:35PM -0800
References:  <20010108184732.N1400@rjlhome.sco.com> <XFMail.010108174135.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Funny.  I fixed a related problem in the UDI code just this
morning. Those linked lists that walk into modules that have been
unmapped can be a killer. :-)

But this solves the problem I have right now.   Thanx!

> > to proc_reparent() and life seems pretty good. `ps' no longer panics
> > and the lwp does indeed disappear from the ps listing instead of
> > merely going zombie.  This doesn't quite seem to jive with what you
> > described above, though.
>
> By reparenting to init, the zombie is harvested isntead of lying
> around.  Now I just need to MFC this.

Aaaah.   Now I understand.

Later,
RJL


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?20010108202823.A10376>