Re: [2.6.17-rc5-mm2] crash when doing second suspend: BUG in arch/i386/kernel/nmi.c:174

From: Don Zickus
Date: Tue Jun 06 2006 - 19:37:09 EST


On Tue, Jun 06, 2006 at 04:27:55PM -0700, Jeremy Fitzhardinge wrote:
> Andrew Morton wrote:
> >All the above applies to suspend-to-disk. I don't know if suspend-to-RAM
> >shuts down the APs.
> >
>
> I'm using suspend-to-mem and it looks like its unplugging/replugging all
> the CPUs.
>
> The part of the question I don't quite understand is why this is
> considered per-CPU state? Surely NMI-watchdog is a system-wide thing?
> Or does this also tie into other uses of the performance registers which
> may be set per-CPU?
>
> J

The nmi watchdog is enable/disabled on a per-cpu basis. The fact that a
single switch turns all of them on/off is just convienance. Adding in
code to turn them on/off on a per-cpu basis just requires a simple user
interface. It has been talked about before to deal with NUMA systems.

Cheers,
Don

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