[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL7Bo8FBBomXS13S6nmHcoGhmqYjbHGjTF=QxstuUSf+eYOhjw@mail.gmail.com>
Date: Tue, 14 Oct 2014 17:46:24 +0100
From: Mike Surcouf <mps.surcouf.lkml@...il.com>
To: Thomas Shao <huishao@...rosoft.com>
Cc: Dan Carpenter <dan.carpenter@...cle.com>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devel@...uxdriverproject.org" <devel@...uxdriverproject.org>,
"olaf@...fle.de" <olaf@...fle.de>,
"apw@...onical.com" <apw@...onical.com>,
"jasowang@...hat.com" <jasowang@...hat.com>,
KY Srinivasan <kys@...rosoft.com>
Subject: Re: [PATCH 2/2] hyperv: Implement Time Synchronization using host
time sample
>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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists