Re: [RFC PATCH] x86:Use cpu_khz for loops_per_jiffy calculation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alok Kataria <akataria@...>
Cc: kernel list <linux-kernel@...>
Date: Thursday, June 26, 2008 - 1:35 pm

On Thu 2008-06-26 10:20:31, Alok Kataria wrote:

Yes.


On my machine, it reports:

delay using timer specific routine.. 3661.98 BogoMIPS (lpj=7323971)
...
Detected 1828.828 MHz processor.

(/proc/cpuinfo)
model name	: Genuine Intel(R) CPU           T2400  @ 1.83GHz
...
cpu MHz		: 1000.000
...
bogomips	: 3657.54

So you'd break it by setting lpj (aka bogomips) to cpu_khz, right?

							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC PATCH] x86:Use cpu_khz for loops_per_jiffy calculat..., Pavel Machek, (Thu Jun 26, 1:35 pm)