[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
>> 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?
Xen-devel mailing list