Re: panic on kthread_exit under INVARIANTS

2010-10-12 Thread Paul B Mahol
On 10/12/10, David Xu wrote: > Paul B Mahol wrote: >> Hi, >> >> If kernel threads were created via kproc_kthread_add() >> when last kernel thread exits it will trigger panic. >> >> It panics in queue.h probably introduced with rec > > > I have committed a patch, can you try it ? > http://svn.

Re: panic on kthread_exit under INVARIANTS

2010-10-11 Thread David Xu
Paul B Mahol wrote: Hi, If kernel threads were created via kproc_kthread_add() when last kernel thread exits it will trigger panic. It panics in queue.h probably introduced with rec I have committed a patch, can you try it ? http://svn.freebsd.org/changeset/base/213714 Regards, David X