lkml.org 
[lkml]   [1999]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Kernel 2.2.1 hangs on boot
Date
> He explained that the calibrate_tsc() subtracted the two register values it
> gets, and uses that number in the divide.

Its a bit more complex than that. Intel guarantees that rdtsc wont return
the same 64bit value (the low bits change fastest) in a 10 year period.

> A pretty effective fix would be to amend the code to say
>
> IF the two register readings are the same
> THEN clear the TSC flag
>
> Will this just "cover up" the problem, or is it a "kosher" test ?

If its a divison by zero - what if its a straight overflow


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.064 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site