On Tue, Aug 10, 2010 at 09:38:49AM +0100, Alan Cox wrote:
So we should remove explicit system suspend from the kernel?
There's a clear and absolute difference between system suspend and
entering the same hardware state from the idle loop. That difference is
that processes aren't scheduled until an explicit wakeup event occurs.
Android is entirely capable of entering the same low power state at idle
(it's done with a hardcoded idle loop on Qualcomm, cpuidle on omap), but
if you have more than 0 scheduling wakeups a second then your power draw
is going to be greater.
I agree that we should be targetting 0 wakeups per second. I don't agree
that it's realistic to insist that a use model that assumes imperfect
software is an invalid use model.
--
Matthew Garrett | mjg59@srcf.ucam.org
--