Re: [RFC/SERIOUS] grilling troubled CPUs for fun and profit?

From: Dave Jones
Date: Mon Jun 19 2006 - 17:43:26 EST


On Mon, Jun 19, 2006 at 11:40:46PM +0200, Bodo Eggert wrote:
> linux-os (Dick Johnson) <linux-os@xxxxxxxxxxxx> wrote:
> > On Mon, 19 Jun 2006, Andreas Mohr wrote:
>
> >> while looking for loop places to apply cpu_relax() to, I found the
> >> following gems:
> >>
> >> arch/i386/kernel/crash.c/crash_nmi_callback():
> >>
> >> /* Assume hlt works */
> >> halt();
> >> for(;;);
> >>
> >> return 1;
> >> }
>
> This will result in the processor burning energy again after the first
> interrupt, won't it?

Interrupts are disabled here.

Dave

--
http://www.codemonkey.org.uk
-
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/