lkml.org 
[lkml]   [2008]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: apic - unify APIC_DIVISOR
On Fri, 10 Oct 2008, Venki Pallipadi wrote:

> If there is no pressing reason to change the initial calibration value, how
> about the simple patch below.
>
> The 10^9 value that is used for 100 mS calibration time is pretty big as
> tglx's comment points out. We will only underflow it if there is a
> bus clock running at 10 GHz * 16 = 160 Ghz.
>
> This way we will not fix something that is not really broken today and will not
> break in foreseeable future.

I am fine with this version too. The initial count value used for
calibration is really arbitrary -- for all the systems I have seen the
APIC clock was in the sub-MHz range. And 64-bit hardware runs both code
variations so the choice of what the 32-bit code version does is
appropriate as it is also known to work with 32-bit equipment.

Maciej


\
 
 \ /
  Last update: 2008-10-10 21:21    [W:0.051 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site