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

Benjamin Herrenschmidt
2010-03-31T22:39:05Z

On Wed, 2010-03-31 at 14:57 -0700, H. Peter Anvin wrote:
>
> The question still remains what the incremental cost is of doing
> irqsave/irqrestore.

The only other option is to have local_irq_enable() check a global
(system_state ?) before enabling. Almost as gross ...

Cheers,
Ben.