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

From: Pavel Machek
Date: Mon Jun 19 2006 - 18:31:35 EST


Hi!

> 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;
> }
>
> arch/i386/kernel/doublefault.c/doublefault_fn():
>
> for (;;) /* nothing */;
> }
>
> Let's assume that we have a less than moderate fan failure that causes
> the CPU to heat up beyond the critical limit...
> That might result in - you guessed it - crashes or doublefaults.
> In which case we enter the corresponding handler and do... what?
> Exactly, we accelerate the CPUs happy march into bit heaven by letting it

...
> Am I completely missing something here?

Yes. You are missing that modern hw already protects itself. See my blog on planet.kernel.org.

--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

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