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

From: Ingo Molnar
Date: Fri Apr 06 2007 - 13:31:54 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> putting the freshly reaped tasks at the 'head' of the list is just a
> fancy (and incomplete) way of splitting the list up into two lists, and
> i'd advocate a clean split. Just like have have split the ptrace_list
^---s/have/we
> away from the main list too.

and in this sense your suggestion will happen:

> > I'd almost prefer to just not add kernel threads to any parent
> > process list *at*all*.

because that way kernel threads will never show up in the to-be-reaped
list, they'll only show up in the main list that represents the tree of
tasks.

Ingo
-
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/