Re: [PATCH 4/5] don't panic if /sbin/init exits or killed

From: Oleg Nesterov
Date: Sun Mar 16 2008 - 20:06:19 EST


On 03/16, Roland McGrath wrote:
>
> > Ah, OK. We can change this to dump_stack() without BUG().
>
> I'm not sure that's a whole lot better as far as confusion.
> And what use is it? You know init exited. Just print its exit_code
> and/or group_exit_code and you know what kind of kernel entry the exit was.

Agreed. It was either killed, or exited. The exit code provides enough info.

Thanks, I'll resend this patch.

Oleg.

--
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/