Re: [PATCH] ia64: Fix CPU freq displayed in /proc/cpuinfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 06, 2007 at 10:29:03AM -0700, Luck, Tony wrote:
> 
> +		   "cpu MHz    : %lu.%03lu\n"
>  		   "itc MHz    : %lu.%06lu\n"
> 
> 
> Why did you cut the precision of cpu MHz back to 1Khz?  Is the
> extra precision not-warranted, or is this just to be more like
> other architectures?

That is because we try to get this from cpufreq and cpufreq
has this info in kHz.
 
> Should we do the same for itc MHz to treat both evenly?

Not sure about this. I guess we can retain it the way it is as it is
something directly coming from hardware. CPU frequency in turn can come
cpufreq or acpi tables. ACPI table will reduce this further as it
always gives the info in MHz (on processors that has ACPI
based P-states support).

Thanks,
Venki
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux