On Wed, Aug 04, 2010 at 03:20:04PM -0700, david@lang.hm wrote:
Nobody's denying that it's better, but people are saying they want to
design a platform that's capable of handling the software we have rather
than the software we'd like to have.
That doesn't work. You'll race with wakeup events.
How? You're either polling in order to know whether there's network
activity, or you're having every network packet wake up the policy
daemon, or you've got something that looks like the kernel side of
wakelocks.
Wifi radio typically dwarfs your other power consumption anyway. The
typical situation is one where you're not attached to a wifi network.
You're right. It's a race that exists everywhere else, and it's inherent
unless you have some handshaking between userspace and the kernel when
entering suspend. Which is what wakelocks provide. Nobody has proposed a
solution that works without modifying existing code.
--
Matthew Garrett | mjg59@srcf.ucam.org
--