Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752442Ab0FGPve (ORCPT ); Mon, 7 Jun 2010 11:51:34 -0400 Received: from www.tglx.de ([62.245.132.106]:58309 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752104Ab0FGPvb (ORCPT ); Mon, 7 Jun 2010 11:51:31 -0400 Date: Mon, 7 Jun 2010 17:49:44 +0200 (CEST) From: Thomas Gleixner To: Alan Stern cc: Matthew Garrett , Vitaly Wool , Neil Brown , tytso@mit.edu, Peter Zijlstra , =?ISO-8859-1?Q?Arve_Hj=EF=BF=BDnev=EF=BF=BD?= , Brian Swetland , Felipe Balbi , LKML , Florian Mickler , James Bottomley , "H. Peter Anvin" , Linux PM , Linux OMAP Mailing List , Linus Torvalds , Ingo Molnar , Alan Cox , Arjan van de Ven Subject: Re: [linux-pm] suspend blockers & Android integrationy In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 29 Alan, On Mon, 7 Jun 2010, Alan Stern wrote: > On Mon, 7 Jun 2010, Thomas Gleixner wrote: > > #2 is a tad harder, as it requires to fix the trusted apps not to fire > > timers when there is nothing to do. > > No; all you have to do is handle the trusted apps as though they were > untrusted -- just as in the original wakelock approach. > > > Though you can solve it with cgroups as well. The unfreeze problem > > for real wakeups can be solved as mhelsley pointed out somewhere > > else in this thread. > > > > But that depends on user space changes .... > > If you handle all the apps uniformly, very few userspace changes are > needed. Oh, I see. I misunderstood you. -ENOTENOUGHSLEEP Thanks, Thomas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/