From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753542AbZBQOrH (ORCPT ); Tue, 17 Feb 2009 09:47:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751833AbZBQOqz (ORCPT ); Tue, 17 Feb 2009 09:46:55 -0500 Received: from casper.infradead.org ([85.118.1.10]:33831 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751832AbZBQOqy (ORCPT ); Tue, 17 Feb 2009 09:46:54 -0500 Date: Tue, 17 Feb 2009 06:46:30 -0800 From: Arjan van de Ven To: Brian Swetland Cc: Matthew Garrett , "Rafael J. Wysocki" , "Woodruff, Richard" , Alan Stern , Kyle Moffett , Oliver Neukum , Benjamin Herrenschmidt , pm list , LKML , Arve =?UTF-8?B?SGrDuG5uZXbDpWc=?= , Pavel Machek , Nigel Cunningham , mark gross , Uli Luckas , Igor Stoppa , Len Brown Subject: Re: [RFD] Automatic suspend Message-ID: <20090217064630.688bf639@infradead.org> In-Reply-To: <20090217142001.GB12378@bulgaria.corp.google.com> References: <13B9B4C6EF24D648824FF11BE896716203771DD01B@dlee02.ent.ti.com> <20090216145948.6fea81c3@infradead.org> <200902170019.40599.rjw@sisk.pl> <20090216232329.GA15678@srcf.ucam.org> <20090217142001.GB12378@bulgaria.corp.google.com> Organization: Intel X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 17 Feb 2009 06:20:01 -0800 Brian Swetland wrote: > Of course that still doesn't address userspace. Aggressively going to > suspend lets us compensate for userspace programs that do somewhat > silly things (I agree that it would be best if they didn't but they > do and getting *everyone* to write their userspace code to avoid > spinning or avoid waking up on short-duration timers to poll is a > losing battle). actually with powertop... on the open source side things are actually won. It took all of 6 months... I don't see that as a valid excuse. In fact, if this kind of solution makes real userspace scheduled timers to be missed then I consider it a serious functionality misfeature. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org