Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932322AbVLDUN6 (ORCPT ); Sun, 4 Dec 2005 15:13:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932333AbVLDUN6 (ORCPT ); Sun, 4 Dec 2005 15:13:58 -0500 Received: from mx2.suse.de ([195.135.220.15]:56023 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S932322AbVLDUN5 (ORCPT ); Sun, 4 Dec 2005 15:13:57 -0500 Date: Sun, 4 Dec 2005 21:13:42 +0100 From: Andi Kleen To: Lee Revell Cc: Andi Kleen , Venkatesh Pallipadi , Andrew Morton , Dave Jones , cpufreq , linux-kernel Subject: Re: [PATCH] CPU frequency display in /proc/cpuinfo Message-ID: <20051204201342.GF14247@wotan.suse.de> References: <20051202181927.GD9766@wotan.suse.de> <20051202104320.A5234@unix-os.sc.intel.com> <20051204164335.GB32492@isilmar.linta.de> <20051204183239.GE14247@wotan.suse.de> <1133725767.19768.12.camel@mindpipe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1133725767.19768.12.camel@mindpipe> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1290 Lines: 29 On Sun, Dec 04, 2005 at 02:49:26PM -0500, Lee Revell wrote: > On Sun, 2005-12-04 at 19:32 +0100, Andi Kleen wrote: > > On Sun, Dec 04, 2005 at 05:43:35PM +0100, Dominik Brodowski wrote: > > > On Fri, Dec 02, 2005 at 10:43:20AM -0800, Venkatesh Pallipadi wrote: > > > > The patch below changes this to: > > > > Show the last known frequency of the particular CPU, when cpufreq is present. If > > > > cpu doesnot support changing of frequency through cpufreq, then boot frequency > > > > will be shown. The patch affects i386, x86_64 and ia64 architectures. > > > > > > Looks good to me -- however, might this affect userspace cpufreq tools? I'd > > > > They normally use /sys anyways. > > Wrong, lots of userspace programs that need to know the CPU speed get it > from /proc/cpuinfo. It would be nice if there were a better API. Talking about user space governours - I presume that is what Dominik ment with "userspace cpufreq tools" > As long as you don't change the file format it should be OK. Great that we have your approval. -Andi - 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/