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

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


On Tue, 13 Aug 2002, Ingo Molnar wrote:
>
> we dont really want any signal overhead, and we also dont want any extra
> context-switching to the 'master thread'. And there's no master thread
> anymore either.

That still doesn't make it any les crap: because any thread that exits
without calling the "magic exit-flag interface" will then silently be
lost, with no information left around anywhere.

The whole interface is bogus.

If you want to do this, you can do it at _clone_ time, by extending on the
notion of "when I die, tell the parent using signal X" and making that
notion be a more generic "when I die, do X", where "X" migh include
updating some parent tables instead of sending a signal.

But the magic "exit_write()" has to die.

                        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