From: Keir Fraser Subject: Re: System time monotonicity Date: Tue, 08 Apr 2008 17:42:24 +0100 Message-ID: References: <20080408103441359.00000004064@djm-pc> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080408103441359.00000004064@djm-pc> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "dan.magenheimer@oracle.com" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 8/4/08 17:34, "Dan Magenheimer" wrote: > Sorry, a little slow on responding here, only took a year ;-) > > Where is the code that does this independent TSC sync'ing? I see > code in smpboot.c that seems to do this at startup (though exactly > how I admit I haven't yet figured out... looks like some kind of > rendezvous loop triggered by the BP?). But I don't see where/how > this gets called "every couple of seconds", nor do I see any writing > to the TSC (except setting BP and each AP to zero at startup). arch/x86/time.c:local_time_calibration() -- Keir