From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758847Ab0E1PSz (ORCPT ); Fri, 28 May 2010 11:18:55 -0400 Received: from casper.infradead.org ([85.118.1.10]:43331 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757609Ab0E1PSy convert rfc822-to-8bit (ORCPT ); Fri, 28 May 2010 11:18:54 -0400 Subject: Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8) From: Peter Zijlstra To: Alan Stern Cc: Alan Cox , Arve =?ISO-8859-1?Q?Hj=F8nnev=E5g?= , Matthew Garrett , Thomas Gleixner , LKML , Florian Mickler , felipe.balbi@nokia.com, Linux OMAP Mailing List , Linux PM In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Fri, 28 May 2010 17:18:44 +0200 Message-ID: <1275059924.27810.9640.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2010-05-28 at 10:35 -0400, Alan Stern wrote: > The app is busy doing something else unimportant > We do into power save > Push a button, generate an IRQ > Come out of power save > No app to poke > * System goes back to sleep and eventually wakes up again > The app finishes what it was doing > The app sees there is a keystroke and marks itself important > ... > > The * step is where trouble can occur. Only because you don't run runnable tasks. Please stop considering that an option and these problems go away.