[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Fix clock_gettime to increment monotonically onPV-domain/x86



On 15/6/07 13:47, "John Levon" <levon@xxxxxxxxxxxxxxxxx> wrote:

> On Fri, Jun 15, 2007 at 01:12:21PM +0200, Jan Beulich wrote:
> 
>> An alternative to a spin lock would be to use a 64-bit variable storing the
>> raw
>> nanosecond value, and use cmpxchg to check/update it. I did it this way for
>> the clocksource monotonicity:
> 
> This is essentially what we've got now in Solaris. It seems like a
> terrible shame not to just fix it in Xen, especially given all that
> traffic from all CPUs to 'last_ret'.

How would we fix it in Xen in a way that is faster and more scalable?

 -- Keir



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.