Messages in this thread | | | Date | Mon, 7 Jun 2010 13:25:53 +0300 | Subject | Re: [linux-pm] suspend blockers & Android integration | From | Felipe Contreras <> |
| |
2010/6/6 Matthew Garrett <mjg59@srcf.ucam.org>: > On Sun, Jun 06, 2010 at 07:21:49PM +0200, Vitaly Wool wrote: >> 2010/6/6 Matthew Garrett <mjg59@srcf.ucam.org>: >> >> > Suspend blocks prevent system suspend, not any per-device suspend. >> >> Can you suspend a device which is holding a wake lock? > > Yes. Suspend blocks are orthogonal to runtime PM.
In that sense yes, but as it has been stated before; if Android user-space concentrates on getting suspend blockers right, then the timers in user-space will not be aligned correctly, and runtime PM wouldn't work that great. Moreover, opportunistic suspend takes the device out of idle. So, as runtime PM gets better, there's a point where opportunistic suspend makes the situation worst.
So they are _mostly_ orthogonal, but not completely, at least for the analysis of suspend blockers' usefulness.
-- Felipe Contreras
| |