[Top] [All Lists]

Re: [PATCH] gettimeoffset for swarm

To: Jun Sun <>
Subject: Re: [PATCH] gettimeoffset for swarm
From: "Maciej W. Rozycki" <>
Date: Tue, 14 May 2002 15:18:49 +0200 (MET DST)
In-reply-to: <>
Organization: Technical University of Gdansk
On Mon, 13 May 2002, Jun Sun wrote:

> By default, swarm will use calibrate_div64_gettimeoffset().  That does
> not work in SMP mode because the two cores have different counter register
> value.  This patch gives swarm its own and accurate gettimeoffset().

 You may consider synchronising the counters as it's done for the i386,
instead.  See synchronize_tsc_ap().  It may be useful for other purposes
as well. 

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>