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

From: Matthew Garrett
Date: Thu May 27 2010 - 14:21:21 EST


On Thu, May 27, 2010 at 07:17:16PM +0100, Alan Cox wrote:
> > Actually, the reverse - there's no terribly good way to make PCs work
> > with scheduler-based suspend, but there's no reason why they wouldn't
> > work with the current opportunistic suspend implementation.
>
> If one works so does the other.

Not at all. The entire point of opportunistic suspend is that I don't
care is currently in TASK_RUNNABLE or has a timer that's due to expire
in 100msec - based on policy (through not having any held suspend
blockers), I'll go to sleep. That's easily possible on PCs.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/