On Fri, Dec 14, 2001 at 12:40:16PM -0800, Linus Torvalds wrote:
> I do agree, I've used "kill -9 -1" myself.
> However, let's see how problematic it is to try to follow it (in 2.5.x,
> not 2.4.x) and if people really complain.
Doesn't init use kill -15 -1, kill -9 -1, etc., to terminate all
processes? Hmm. Yes, it does, but the kernel checks for (pid > 1).
By removing the single compare in the kernel, we're potentially
increasing the size of userspace applications from a single syscall to a
whole walking of /proc just to kill other running processes. Ugh.
"kill -STOP -1" is also great for freezing forkbombs which would no
longer possible with the /proc method.
[ Stormix Technologies Inc. ][ NetNation Communications Inc. ]
[ email@example.com ][ firstname.lastname@example.org ]
[ Opinions expressed are not necessarily those of my employers. ]
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
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 : Sat Dec 15 2001 - 21:00:29 EST