lkml.org 
[lkml]   [2008]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/3] PM: Introduce new top level suspend and hibernation callbacks (rev. 8)
Date
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


\
 
 \ /
  Last update: 2008-04-14 00:29    [W:0.371 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site