From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] Adjust time init sequence Date: Fri, 12 Dec 2008 10:38:16 +0000 Message-ID: References: <494246AE.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <494246AE.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: Kevin Tian , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 12/12/2008 10:10, "Jan Beulich" wrote: >> How about rdtscll(t->local_tsc_stamp) at the top of init_xen_time(), and >> remove the one I added to early_time_init()? That would allow NOW() usage at >> least in init_xen_time(), and be later than the TSC reset. > > Perhaps it should be considered to switch to the non-resetting > synchronization logic in x86-64 Linux up to 2.6.20 (according to the > comments there derived from ia64), or even the current version that > doesn't re-write the TSC at all? Quite agreeable, albeit a bigger patch. ;-) -- Keir