Re: [RFC][PATCH] Kernel thread signal handling.

From: Linus Torvalds
Date: Mon Oct 13 2003 - 11:37:42 EST



On Mon, 13 Oct 2003, Andrew Morton wrote:
>
> Sigh. Using signals to communicate with kernel threads is evil. It keeps
> on breaking and each site does it differently and we've had plenty of bugs
> due to this practice.

Yeah, it's not wonderfully pretty, but at least this patch makes bugs
_less_ likely, by having more of the common stuff abstracted out. And
clearly allow_signal() was broken before, since it didn't allow anything
but deadly signals, despite the fact that it was supposed to be generic.

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/