lkml.org 
[lkml]   [2000]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Use of TSC with SMP and different CPU's
On Wed, 8 Mar 2000, Boris Okun wrote:

>This patch allows to use do_fast_gettimeofday() (and
>do_slow_gettimeofday as well) on SMP machines with processors running
>at different speeds.[..]

The timer irq could keep running on the same CPU with irq disabled for
more than the rtdsc lower 32bits wrap around. Thus the per-cpu rdtsc info
has to be 64bit wide in your case (in the current 2.2.x code it doesn't
need that because it's _not_ a per-cpu info because we rely on the TSCs to
be in sync).

Andrea


-
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:56    [W:0.040 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site