Re: start_kernel(): bug: interrupts were enabled early

From: Benjamin Herrenschmidt
Date: Wed Mar 31 2010 - 18:38:09 EST


On Wed, 2010-03-31 at 16:42 -0500, Christoph Lameter wrote:
>
> Do not run the checks while we are in a single threaded context?
>
> I thought we had some dynamic code patching thingamy that could change
> those when we go to smp mode?

The problem isn't about checks. Those -will- enable IRQs before it's
safe to do so, the checks are perfectly right to point it out, it -is- a
bug waiting to happen on some random HW.

Cheers,
Ben.


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