Re: kthread_exit & zombification

2001-01-09 Thread John Baldwin
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

Re: kthread_exit & zombification

2001-01-09 Thread Julian Elischer
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 interna

Re: kthread_exit & zombification

2001-01-08 Thread Robert Lipe
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

Re: kthread_exit & zombification

2001-01-08 Thread John Baldwin
On 09-Jan-01 Robert Lipe wrote: > John Baldwin wrote: >> >> On 08-Jan-01 Robert Lipe wrote: > >> > I'm having problems with kthread_exit(). The problem is that the thread >> > goes zombie after I kthread_exit in it, but it never gets reaped. Since >> > I'm doing this during a MOD_UNLOAD phase

Re: kthread_exit & zombification

2001-01-08 Thread Robert Lipe
John Baldwin wrote: > > On 08-Jan-01 Robert Lipe wrote: > > I'm having problems with kthread_exit(). The problem is that the thread > > goes zombie after I kthread_exit in it, but it never gets reaped. Since > > I'm doing this during a MOD_UNLOAD phase, if I happen to do a `ps -ax' > > after t

RE: kthread_exit & zombification

2001-01-08 Thread John Baldwin
On 08-Jan-01 Robert Lipe wrote: > Hi, Gang. > > In 4.1.1, I have a pretty simple need for a kernel thread or two, but > I'm having problems with kthread_exit(). The problem is that the thread > goes zombie after I kthread_exit in it, but it never gets reaped. Since > I'm doing this during a MO

kthread_exit & zombification

2001-01-07 Thread Robert Lipe
Hi, Gang. In 4.1.1, I have a pretty simple need for a kernel thread or two, but I'm having problems with kthread_exit(). The problem is that the thread goes zombie after I kthread_exit in it, but it never gets reaped. Since I'm doing this during a MOD_UNLOAD phase, if I happen to do a `ps -ax'