Re: [PATCH 2/2] hyperv: Implement Time Synchronization using host time sample

From: Mike Surcouf
Date: Tue Oct 14 2014 - 12:46:28 EST


>The value for TICK_USEC is defined as ((1000000UL + USER_HZ/2) / USER_HZ).
> In my box, it's 10000.
OK got it thanks . Checked the algorithm OK by me.
Of course you can only adjust clock by a tick (smallest resolution) so
you could be flapping between 2 values so as you say NTP is preferred.
However it may be good enough for some scenarios.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/