Messages in this thread | | | Date | Tue, 10 Oct 2000 16:37:43 +0100 | From | Philipp Rumpf <> | Subject | Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler |
| |
On Tue, Oct 10, 2000 at 12:30:51PM -0300, Rik van Riel wrote: > Not killing init when we "should" definately prevents > embedded systems from auto-rebooting when they should > do so. > > (OTOH, I don't think embedded systems will run into > this OOM issue too much)
but when they do, they're hard to fix. Think about an elevator control system with a single process that happens to implement a somewhat broken version of the elevator algorithm ;)
> > that's what I said. we need to be sure to _get_ a panic() though. > > I believe the kernel automatically panic()s when init > dies ... from kernel/exit.c::do_exit() > > if (tsk->pid == 1) > panic("Attempted to kill init!");
guess who added that code. We still kill init with SIGTERM which doesn't seem to work though.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |