Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753542AbYH3PZa (ORCPT ); Sat, 30 Aug 2008 11:25:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751988AbYH3PZV (ORCPT ); Sat, 30 Aug 2008 11:25:21 -0400 Received: from casper.infradead.org ([85.118.1.10]:55098 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751549AbYH3PZU (ORCPT ); Sat, 30 Aug 2008 11:25:20 -0400 Date: Sat, 30 Aug 2008 08:25:13 -0700 From: Arjan van de Ven To: Alan Cox Cc: Linus Torvalds , linux-kernel@vger.kernel.org, mingo@elte.hu, tglx@tglx.de Subject: Re: [PATCH 4/5] select: make select() use schedule_hrtimeout() Message-ID: <20080830082513.5fdc3c02@infradead.org> In-Reply-To: <20080829193309.113d5b64@lxorguk.ukuu.org.uk> References: <20080829080549.6906b744@infradead.org> <20080829080809.0e42a323@infradead.org> <20080829171108.63e6dcd4@lxorguk.ukuu.org.uk> <20080829191837.3d2b3050@lxorguk.ukuu.org.uk> <20080829193309.113d5b64@lxorguk.ukuu.org.uk> Organization: Intel X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; 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 Content-Length: 1095 Lines: 26 On Fri, 29 Aug 2008 19:33:09 +0100 Alan Cox wrote: > > And yes, I do agree that the heuristic could well involve other > > characteristics of the process in question. And probably > > characteristics of the machine itself (ie some general kind of > > "power mode" where timers are simply not considered critical if you > > want to be in low-power mode). > > HAL and dbus already deal with this sort of stuff, including now > having a notion of 'on battery' and the like so if its in sysfs it > ceases to be the kernels problem ;) (side note: "on battery" is the worst possible measure for doing 'do I need to be power sensitive', but you knew that already) -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.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/