Re: [linux-pm] suspend blockers Android integrationy

2010-06-07 Thread Alan Stern
On Mon, 7 Jun 2010, Thomas Gleixner wrote: Alan, Thomas: On Sun, 6 Jun 2010, Alan Stern wrote: Remember that suspend takes place in several phases, the first of which is to freeze tasks. The phases can be controlled individually by the process carrying out a suspend, and there's

Re: [linux-pm] suspend blockers Android integrationy

2010-06-07 Thread Thomas Gleixner
Alan, On Mon, 7 Jun 2010, Alan Stern wrote: On Mon, 7 Jun 2010, Thomas Gleixner wrote: #2 is a tad harder, as it requires to fix the trusted apps not to fire timers when there is nothing to do. No; all you have to do is handle the trusted apps as though they were untrusted -- just as

Re: [linux-pm] suspend blockers Android integrationy

2010-06-06 Thread Thomas Gleixner
Alan, On Sun, 6 Jun 2010, Alan Stern wrote: On Sun, 6 Jun 2010, Matthew Garrett wrote: The difference between idle-based suspend and opportunistic suspend is that the former will continue to wake up for timers and will never be entered if something is using CPU, whereas the latter