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

From: Linus Torvalds (torvalds@transmeta.com)
Date: Tue Aug 13 2002 - 13:52:17 EST


On Tue, 13 Aug 2002, Linus Torvalds wrote:
>
> So add the capability to mark the child for proper exit semantics.

Actually, this has nothing at all to do with exit().

The same thing comes up when you want to do an execve() (yes, I know
pthreads doesn't support a thread starting another process, but the fact
that pthreads is broken is no excuse for broken interfaces).

If the parent needs to be notified that the stack slot is no longer in
use, it needs to happen for execve() too, not just exit().

In fact, I'd say that this thing is tied in to "mm_release()", not
"exit()".

The fact that the child doesn't want to send a signal to the parent on
exit is a totally different matter, and should already be supported by
just giving a zero signal number.

                        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/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:33 EST