Re: Dumb question: BKL on reboot ?

David S. Miller
2003-08-20T18:35:29Z

On Wed, 20 Aug 2003 11:29:18 -0700
Andrew Morton <akpm@osdl.org> wrote:

> Where exactly does the rebooting CPU get stuck in machine_restart()? If
> someone has done lock_kernel() with local interrupts disabled then yes,
> it'll deadlock. But that's unlikely? Confused.

In fact I think that's illegal and we should bug check
such a state.