Wakelocks
Wakelocks
Posted Dec 23, 2011 19:57 UTC (Fri) by mjg59 (subscriber, #23239)In reply to: Wakelocks by neilbrown
Parent article: Bringing Android closer to the mainline
You can defer the timeouts to userspace instead, but then your userspace has to be amazingly aware of how everything ties together - rather than having generic userspace, you now need userspace that knows every single wakeup event that the kernel may generate, and whether or not it needs to take a timeout on them. That's more complicated than the existing Android case.
I'm not arguing that the wakeup events code is bad or evil or does nothing to get us closer to a model where Android works, just that right now it only solves the simple cases and doesn't have a clear strategy for solving the difficult ones.
