Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263399AbUCSArD (ORCPT ); Thu, 18 Mar 2004 19:47:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262806AbUCSAqs (ORCPT ); Thu, 18 Mar 2004 19:46:48 -0500 Received: from dragnfire.mtl.istop.com ([66.11.160.179]:22469 "EHLO dsl.commfireservices.com") by vger.kernel.org with ESMTP id S263002AbUCSAnC (ORCPT ); Thu, 18 Mar 2004 19:43:02 -0500 Date: Thu, 18 Mar 2004 19:43:05 -0500 (EST) From: Zwane Mwaikambo To: Todd Poynor Cc: Andrew Morton , Kenneth Chen , linux-ia64@vger.kernel.org, Linux Kernel , CPU Freq ML Subject: Re: add lowpower_idle sysctl In-Reply-To: <405A29EA.6000400@mvista.com> Message-ID: References: <20040317170436.430acfbe.akpm@osdl.org> <200403180318.i2I3IDF03166@unix-os.sc.intel.com> <20040317192821.1fe90f24.akpm@osdl.org> <405A29EA.6000400@mvista.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 979 Lines: 23 On Thu, 18 Mar 2004, Todd Poynor wrote: > Zwane Mwaikambo wrote: > > >>Set some system-wide integer via a sysctl and let the particular > >>architecture decide how best to implement the currently-selected idle mode? > > > > I'm wondering whether the setting of these magic numbers can't be done > > using cpufreq infrastructure. > > I'd vote for using Patrick Mochel's PM subsystem and use a standard set > of identifiers that are mapped to a platform-specific idle behavior, in > much the same way as platform suspend modes are handled today. For > example, strings echoed to /sys/power/idle could be an interface. If > folks are amenable to this I'd be happy to supply a (generic) patch for it. Ta, sounds good, give us a look. - 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/