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

Re: [Minios-devel] [PATCH 2/2] Fix time update



Hi Wei,

Sorry for the late response, but i had some trouble opening my mail.
Yes, the changes still solve my problem. Thanks.

David

Citeren Wei Liu <wei.liu2@xxxxxxxxxx>:

On Sun, Apr 10, 2016 at 12:46:32AM +0200, Samuel Thibault wrote:
The timer handler should actually not update the shadowed copy, since that
makes reading them non-atomic. Users of the shadowed copy should just update
it themselves, which is already the case in monotonic_clock(), we just need
to make to make gettimeofday() update the wallclock.

This also fixes an issue reported by David Vercauteren: when the timer
interrupt was not called yet, gettimeofday was returning bogus values.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

Hi, David

Can you test this patch to see if it fixes you problem?

Wei.




_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

 


Rackspace

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