From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Lalancette Subject: Re: vgettimeofday disabled? Date: Wed, 03 Sep 2008 18:02:06 +0200 Message-ID: <48BEB4FE.3000900@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > We probably don't update vxtime structure, so you likely get dodgy results > from do_vgettimedofday(). However, forcing vxtime to track vcpu0's time info > obtained from Xen would probably be quite easy to do and may be accurate > enough. > > But, without that extra engineering, I recommend you check what answers > you're getting from gettimeofday(). Could be quite a significant > performance/correctness tradeoff ;-) Ah, OK. So there's not really a fundamental issue (which I was worried about), more just it hasn't been implemented all the way. Interestingly, it doesn't seem to be explicitly disabled in the LKML pv_ops implementation, so either it's being updated properly there, or time is *way* off. Thanks for the info. Chris Lalancette