Re: PROBLEM: no cpu MHz in /proc/cpuinfo on 2.6.25.4-rt6

From: Jan Engelhardt
Date: Wed Jun 11 2008 - 08:42:51 EST



On Tuesday 2008-06-10 22:42, Kok, Auke wrote:
>>>
>>> and it appears that /proc/cpuinfo lack the line
>>> cpu MHz:
>>
>>
>> btw this is scary; the Mhz line in /proc/cpuinfo doesn't have much
>> meaning really, so applications using it and depending on it is a
>> rather big disaster ;-(
>>
>> Does anyone know why jackd wants to use this?

It would be nice to have a /sys file where the CPU frequency is in,
but unless you have cpufreq loaded, no such file exists.
And there are quite a few processors which do not have cpufreq,
so /proc/cpuinfo is the only information (besides dmesg) where
you can read it from.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/