WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] vgettimeofday disabled?

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] vgettimeofday disabled?
From: Chris Lalancette <clalance@xxxxxxxxxx>
Date: Wed, 03 Sep 2008 18:02:06 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 03 Sep 2008 09:06:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4E4734D.26B55%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C4E4734D.26B55%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080723)
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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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