Re: init's children list is long and slows reaping children.

From: Linus Torvalds
Date: Mon Apr 09 2007 - 22:47:05 EST




On Mon, 9 Apr 2007, Andrew Morton wrote:
>
> > 10 ? S< 0:00 [khelper]
>
> That one's needed to parent the call_usermodehelper() apps. I don't think
> it does anything else. We used to use keventd for this but that had some
> problem whcih I forget.

I think it was one of a long series of deadlocks.

Using a "keventd" for many different things sounds clever and nice, but
then sucks horribly when one event triggers another event, and they depend
on each other. Solution: use independent threads for the events.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/