lkml.org 
[lkml]   [2003]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-usb-devel] Re: OHCI problems with suspend/resume
Hi!

> > > - APM uses the pm_*() calls for a vetoable check,
> > > never issues SAVE_STATE, then goes POWER_DOWN.
> >
> > I remember the reason... SAVE_STATE expects user processes to be
> > stopped, which is not the case in APM. Perhaps that is easy to fix
> > these days...
>
> No ! You may feel better stopping user processes (and actuallty you
> may require that for swsusp, I don't know) but the whole PM scheme is
> designed to make that unnecessary. I do NOT stop user processes on
> suspend-to-RAM on PowerMacs, I don't think neither APM nor ACPI need
> that (I may be wrong here, but if that is the case, then some drivers
> need fixing).

When all drivers are safe, stopping user processes on ACPI S3 will no
longer be needed.

But they are not safe for now, and I believe that stopping processes
makes some hw drivers safe where they were not safe before. At least
if process is sleeping within some driver, stopping user processes
will wait till it exits the driver. That should help for simple
devices.
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.091 / U:1.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site