LWN: Comments on "This week's episode of "Desperate Androids""
http://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"".
hourly2This week's episode of "Desperate Androids"
http://lwn.net/Articles/391652/rss
2010-06-10T17:53:15+00:00iabervon
<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>
This week's episode of "Desperate Androids"
http://lwn.net/Articles/391604/rss
2010-06-10T12:35:52+00:00nix
<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>
This week's episode of "Desperate Androids"
http://lwn.net/Articles/391584/rss
2010-06-10T11:05:08+00:00rvfh
<div class="FormattedComment">
<font class="QuotedText">> 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>