On Thu, Aug 12, 2010 at 10:34:47PM +0300, Felipe Contreras wrote:
Glad we agree that both dynamic power management and opportunistic
power management need applications to be written carefully. Of course,
dynamic power management requires all of the code in those applications
to be carefully written, while experience indicates that opportunistic
suspend requires only a small fraction to be carefully written.
A PM-driving application is one that exerts control over the system's
power state. In the case of Android, a PM-driving application is one
that is permitted to acquire suspend blockers.
That is an excellent example, as it applies equally to dynamic power
management. By how much are you allowed to delay the wakeup?
That is speculation on your part.
Android's experience might not apply exactly to typical Linux ecosystems,
but we really can learn quite a bit from it -- at least if we can bring
ourselves to do so.
Fair enough. I wasn't differentiating between people mistakenly talking
past each other and intentionally talking past each other, but if you
want to differentiate, feel free to do so.
That is your speculation.
At this point in the discussion, I am quite prepared to believe that you
will avoid using suspend blockers, and that you will further do everything
in your power to prevent anyone else from using suspend blockers. ;-)
Thanx, Paul
--