Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8)

Matthew Garrett
2010-05-27T16:20:05Z

On Thu, May 27, 2010 at 05:16:15PM +0100, Alan Cox wrote:

> I can't speak for Thomas, but I'm certainly not arguing that you don't
> need something that looks more like the blocker side of the logic *in
> kernel*, because there is stuff that you want to express which isn't tied
> to the task.

Sure, if you're not using opportunistic suspend then I don't think
there's any real need for the userspace side of this. The question is
how to implement something with the useful properties of opportunistic
suspend without without implementing something pretty much equivalent to
the userspace suspend blockers. I've sent another mail expressing why I
don't think your proposed QoS style behaviour provides that.

--
Matthew Garrett | mjg59@srcf.ucam.org