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

From: Andrew Morton
Date: Tue Jun 06 2006 - 18:14:29 EST


On Tue, 6 Jun 2006 17:45:53 -0400
Don Zickus <dzickus@xxxxxxxxxx> wrote:

> On Tue, Jun 06, 2006 at 04:18:15PM +0200, Andi Kleen wrote:
> >
> > > Because he is using a i386 machine, the nmi watchdog is disabled by
> > > default.
> >
> > I changed that - it's now on by default on i386 too.
> >
> > -Andi
>
> I am trying to create a patch for this problem and it just dawned on me,
> how does one store the previous state in a suspend/resume path if the code
> hotplugs all the cpus first? CPU0 is easy because an explicit
> suspend/resume path is called, but it seems to be called last after all
> the other cpus have been removed. How do I save the state?

I'm really struggling to understand this question. If you're referring to
some per-cpu state then a CPU hotplug handler would be appropriate?
-
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/