From: =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= Subject: Re: [PATCH 01/13] PM: Add wake lock api. Date: Thu, 26 Feb 2009 13:11:05 -0800 Message-ID: References: <1233802226-23386-1-git-send-email-arve@android.com> <200902112323.53421.rjw@sisk.pl> <200902122322.30864.rjw@sisk.pl> <13B9B4C6EF24D648824FF11BE89671620377169672@dlee02.ent.ti.com> <20090213011035.GA8664@srcf.ucam.org> <20090226150430.GA1398@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090226150430.GA1398@ucw.cz> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Pavel Machek Cc: "ncunningham@crca.org.au" , "u.luckas@road.de" , "linux-pm@lists.linux-foundation.org" , "swetland@google.com" List-Id: linux-pm@vger.kernel.org On Thu, Feb 26, 2009 at 7:04 AM, Pavel Machek wrote: > Hi! > >> > It is discouraging to hear comments like "we have been talking about f= or years something else" yet nothing exists or is in open development. Thin= gs can evolve in place. >> >> This is userlad-visible ABI. We can't evolve it in place - we need to >> get it right before merging it, otherwise we need to carry on >> maintaining code for an extended period of time in order to ensure that >> there's no userland code that depends on it. > > Plus... sleepy patches showed that autosuspend can be done *without* > new userland ABIs. As far as I can tell the sleepy patches tries to enter suspend if the system is idle. If you plan to wake back up for the first timer, then the end result of this is the same as what we get by entering the low power state from arch_idle in the msm platform. Due to the frequent wakeups, the power use is higher than our suspend state. If you don't wake up on the first timer, you need something like the wakelock api so apps specify that they need to run even if they were inactive for 3 seconds. -- = Arve Hj=F8nnev=E5g