Messages in this thread | | | From | "Rafael J. Wysocki" <> | Subject | Re: [PATCH 1/3] PM: Introduce new top level suspend and hibernation callbacks (rev. 8) | Date | Mon, 14 Apr 2008 00:27:11 +0200 |
| |
On Monday, 14 of April 2008, Benjamin Herrenschmidt wrote: > > > > I don't see the point... On the contrary, prepare() is the pefect place > > > to implement handshaking with userspace for drivers that need to do so, > > > such as the DRM. > > > > This _comment_ reflects the current situation, which is that we freeze tasks > > before a suspend. When it's no longer necessary to do that, I'll be happy to > > change this comment. For now, however, that's not the case. > > Can't we run the freezer after prepare() instead ?
Well, I'm not sure and I'm not going to introduce the change right now, after the paches have been included in -mm.
That would require quite some changes in the core code that I'd prefer to avoid for now. We can do something like this in a separate patch series after the present one settles down a bit.
Thanks, Rafael
| |