Re: [patch] exit_free(), 2.5.31-A0

Linus Torvalds (torvalds@transmeta.com)
Tue, 13 Aug 2002 11:23:15 -0700 (PDT)


On Tue, 13 Aug 2002, Ingo Molnar wrote:
>
> think about it - we have the *very same* problem in kernel-space, and we
> had it for years. People wanted to get rid of parent notification in
> helper processes for ages.

So add the capability to mark the child for proper exit semantics.

That's what I said: if you wan tto do this, you need to mark it at
_create_ time. Exactly so that the proper exit semantics can be done 100%
reliably, instead of just "sometimes". THAT is why _any_ interface that
depends on exit_xxxx() must die - because it is inherently broken for
accidental deaths, and does not leave the parent any way to recover
sanely.

Linus

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