From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= Subject: Re: [PATCH 09/13] PM: wakelock: Abort task freezing if a wake lock is held. Date: Thu, 5 Feb 2009 01:30:35 -0800 Message-ID: References: <1233802226-23386-1-git-send-email-arve@android.com> <1233802226-23386-3-git-send-email-arve@android.com> <1233802226-23386-4-git-send-email-arve@android.com> <1233802226-23386-5-git-send-email-arve@android.com> <1233802226-23386-6-git-send-email-arve@android.com> <1233802226-23386-7-git-send-email-arve@android.com> <1233802226-23386-8-git-send-email-arve@android.com> <1233802226-23386-9-git-send-email-arve@android.com> <1233802226-23386-10-git-send-email-arve@android.com> <20090205085531.GC2077@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090205085531.GC2077@elf.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, swetland@google.com, linux-pm@lists.linux-foundation.org List-Id: linux-pm@vger.kernel.org On Thu, Feb 5, 2009 at 12:55 AM, Pavel Machek wrote: > Hi! > >> Avoids a problem where the device sometimes hangs for 20 seconds >> before the screen is turned on. > > Fix the problem rather than working around it. We used to have problems where if a process was connected to a debugger, and the debugger was frozen first, the this code would be stuck until it times out. I have not seen this problem recently, but aborting as soon as you know that you should wake up is still good. -- = Arve Hj=F8nnev=E5g