Re: Attempted summary of suspend-blockers LKML thread

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Stern
Date: Sunday, August 1, 2010 - 12:41 pm

> > > o	"Power-aware application" are applications that are permitted

I should have made a stronger point: "power-aware" is _not_ a good
term for these applications.  "power-enabled" would be better but
still not ideal.  Maybe "power-permitted"?  The definition is that
they are _permitted_ to do something (acquire suspend blockers), not
that they actually _do_ something.


Arjan's point here is well taken.  Even systems that always run on
external power have motivation for conserving energy (e.g., they may
be required by government regulation to do so).


I was agreeing with the requirement but disagreeing with the reason
given for it.  Even when buffers are large enough that the danger of
overrunning them is infinitesimal, delays in input event delivery are
still undesirable.

Besides, the Android kernel doesn't vary its behavior based on whether
the recipient is power-permitted or power-naive; it _always_ delivers
input events in a timely fashion.


Sure.


Then state it immediately after the definition as an implication of
the definition, not as a separate system requirement.


No.  There are _no_ requirements on power-permitted (or power-aware if
you prefer) applications, other than that the user decides to give it
the appropriate permission.

Internally, of course, Android may enforce this rule on their own
software.  But it has no force in regard to external applications.


Change the last phrase to "regardless of the state of power-naive
applications".

Alan Stern

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Attempted summary of suspend-blockers LKML thread, Alan Stern, (Sun Aug 1, 12:41 pm)
Re: Attempted summary of suspend-blockers LKML thread, Paul E. McKenney, (Sun Aug 1, 1:11 pm)