Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAMpathway

From: Johannes Berg
Date: Thu Jul 05 2007 - 08:49:38 EST


On Thu, 2007-07-05 at 14:51 +0200, Rafael J. Wysocki wrote:

> > > Remember what I wrote a few minutes ago about khubd and ksuspend_usbd
> > > wanting to resume devices during a system suspend transition? This is
> > > exactly what happens when those threads aren't frozen.
> >
> > So, I wonder why I don't see that error on my powerbook?
>
> Because you have only one CPU running while your suspend code is being
> executed?

If that's really all the problem then what's wrong with just unplugging
the other CPUs earlier? Sure, that makes suspend no longer perfectly
transparent since userspace might notice the CPUs being unplugged, but
it has to cope with that anyway since a user can do it manually...

johannes

Attachment: signature.asc
Description: This is a digitally signed message part