Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review

From: Rafael J. Wysocki
Date: Sun May 27 2007 - 14:27:16 EST


On Sunday, 27 May 2007 18:43, Matthew Garrett wrote:
> On Sun, May 27, 2007 at 09:26:00AM -0700, Linus Torvalds wrote:
>
> > And by "disabling the freezer", I think we should just not call it at all.
> > However, sadly, right now it's called from common code. I'll happily take
> > a tested patch to split that code sequence up, and try to do it in 2.6.23,
> > if somebody has the energy (I'm getting to the point where I may just do
> > it myself, but my lazy nature still hopes for a STR person to step
> > forward).
>
> I'll take a look at this. It probably makes sense to build on Rafael's
> work on splitting the codepaths up.

Actaully, removing the freezer from the suspend code path is simple. You only
need to remove calls to freeze_processes() and thaw_processes() from
kernel/power/main.c .

That said, I don't think that PPC does what you say only. We've discussed this
a bit on linux-pm, in this thread:

https://lists.linux-foundation.org/pipermail/linux-pm/2007-May/012242.html

In particular, please see this message:

https://lists.linux-foundation.org/pipermail/linux-pm/2007-May/012301.html

Greetings,
Rafael
-
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/