LWN: Comments on "This week's episode of "Desperate Androids"" https://lwn.net/Articles/391245/ This is a special feed containing comments posted to the individual LWN article titled "This week's episode of "Desperate Androids"". en-us Sat, 20 Sep 2025 23:32:35 +0000 Sat, 20 Sep 2025 23:32:35 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net This week's episode of "Desperate Androids" https://lwn.net/Articles/391652/ https://lwn.net/Articles/391652/ iabervon <div class="FormattedComment"> The API for a driver to say "I've started something that needs to finish before the system can be considered idle enough to suspend" and "This thing is done now" should be pretty obvious. Even if some sort of QoS thing turns to be the real API, the above is still going to be a common enough case to justify having a helper rather than making everybody open-code the necessary QoS-setting call.<br> <p> Of course, if the kernel lacks a mode where the system suspends because it is idle, the implementation is uncontentious: the kernel doesn't need to do anything when drivers call those functions. So Android drivers would be able to act to keep the kernel from autosuspending at a bad time, because a mainline kernel doesn't autosuspend ever and a kernel with autosuspension does something real with those functions.<br> <p> </div> Thu, 10 Jun 2010 17:53:15 +0000 This week's episode of "Desperate Androids" https://lwn.net/Articles/391604/ https://lwn.net/Articles/391604/ nix <div class="FormattedComment"> The code's invasive, implements a new userspace ABI that the kernel folks aren't sure they want, and implements semantics that aren't actually useful on hardware that can't suspend as fast as Android (i.e. nearly everything).<br> <p> At least with stubs the Android *drivers* can go in without pervasive changes.<br> <p> </div> Thu, 10 Jun 2010 12:35:52 +0000 This week's episode of "Desperate Androids" https://lwn.net/Articles/391584/ https://lwn.net/Articles/391584/ rvfh <div class="FormattedComment"> <font class="QuotedText">&gt; add stub versions of the suspend blocker API</font><br> <p> Weird that one would choose to use the API and not the code... I would think that one wants to get right is the API, the code that's below can then be changed to anything one wants it to be (QoS, wavelock, etc..)<br> </div> Thu, 10 Jun 2010 11:05:08 +0000