Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760580Ab0HEOQt (ORCPT ); Thu, 5 Aug 2010 10:16:49 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:52475 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759195Ab0HEOQn (ORCPT ); Thu, 5 Aug 2010 10:16:43 -0400 Date: Thu, 5 Aug 2010 15:16:20 +0100 From: Matthew Garrett To: david@lang.hm Cc: "Paul E. McKenney" , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , "Rafael J. Wysocki" , Arjan van de Ven , linux-pm@lists.linux-foundation.org, linux-kernel@vger.kernel.org, pavel@ucw.cz, florian@mickler.org, stern@rowland.harvard.edu, swetland@google.com, peterz@infradead.org, tglx@linutronix.de, alan@lxorguk.ukuu.org.uk Subject: Re: Attempted summary of suspend-blockers LKML thread Message-ID: <20100805141620.GA21459@srcf.ucam.org> References: <20100804185520.GA2417@srcf.ucam.org> <201008042251.08266.rjw@sisk.pl> <20100804205654.GA4986@srcf.ucam.org> <20100804231003.GL24163@linux.vnet.ibm.com> <20100805134741.GC20565@srcf.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 857 Lines: 20 On Thu, Aug 05, 2010 at 07:07:06AM -0700, david@lang.hm wrote: > On Thu, 5 Aug 2010, Matthew Garrett wrote: >> The decision on whether or not to go to sleep isn't the difficult bit of >> this problem space. > > but isn't that all that wakelocks do? affect the decision on whether or > not to go to sleep. You could think of them that way, but it's not the useful aspect of them - that much could be implemented entirely in userspace. Wakelocks provide a mechanism for userspace to ensure that it's handled all received events before a system suspend takes place. -- Matthew Garrett | mjg59@srcf.ucam.org -- 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/