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

From: Benjamin Herrenschmidt
Date: Sun Apr 13 2008 - 18:11:42 EST



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

Ben.


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