Subject: Re: kernel thread (xenbus_probe) not terminating
To: Tobias Nygren <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 03/28/2007 20:30:23
On Wed, Mar 28, 2007 at 12:56:12PM +0200, Tobias Nygren wrote:
> Sarton O'Brien wrote:
> >Although this problem is specific to xen, the cause is most likely due
> >to recent changes within current.
> >xenbus_probe is showing up as a zombie under all my current domus:
> >2 ? ZW 0:00.00 (xenbus_probe)
> >dom0 and domu (kernel and userland) built from CVS - Wed Mar 28
> >10:14:18 EST 2007.
> >If there is something else I can provide, let me know.
> >So far this problem has not caused me any grief that I am aware of, I
> >figured it was worthwhile mentioning because it could, in the end,
> >help resolve an unrelated problem ...
> Not familiar with xen, but it looks like xenbus_probe() is missing
> a kthread_exit() on a reachable code path.
The function passed to kthread_create1() is xenbus_probe_init(), not
xenbus_probe(). xenbus_probe_init() does proper kthread_exit().
Manuel Bouyer <firstname.lastname@example.org>
NetBSD: 26 ans d'experience feront toujours la difference