Re: [PATCH 1/3] PM: Introduce new top level suspend and hibernation callbacks (rev. 8)

From: Rafael J. Wysocki
Date: Sun Apr 13 2008 - 18:26:59 EST


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
--
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/