Re: [PATCH 3/4] hv_util: use do_adjtimex() to update system time

2017-01-09 Thread Stephen Hemminger
On Mon, 09 Jan 2017 19:14:30 +0100 Vitaly Kuznetsov wrote: > Stephen Hemminger writes: > > > On Mon, 09 Jan 2017 18:40:15 +0100 > > Vitaly Kuznetsov wrote: > > > >> Stephen Hemminger writes: > >> > >> > An alternative would be for hyper-v util to provide a clocksource device > >> > and

Re: [PATCH 3/4] hv_util: use do_adjtimex() to update system time

2017-01-09 Thread Vitaly Kuznetsov
Stephen Hemminger writes: > On Mon, 09 Jan 2017 18:40:15 +0100 > Vitaly Kuznetsov wrote: > >> Stephen Hemminger writes: >> >> > An alternative would be for hyper-v util to provide a clocksource device >> > and >> > let NTP manage the adjustment. The advantage of this would be HV util not >>

Re: [PATCH 3/4] hv_util: use do_adjtimex() to update system time

2017-01-09 Thread Stephen Hemminger
On Mon, 09 Jan 2017 18:40:15 +0100 Vitaly Kuznetsov wrote: > Stephen Hemminger writes: > > > An alternative would be for hyper-v util to provide a clocksource device and > > let NTP manage the adjustment. The advantage of this would be HV util not > > fighting > > with NTP, and using standard

Re: [PATCH 3/4] hv_util: use do_adjtimex() to update system time

2017-01-09 Thread Vitaly Kuznetsov
Stephen Hemminger writes: > An alternative would be for hyper-v util to provide a clocksource device and > let NTP manage the adjustment. The advantage of this would be HV util not > fighting > with NTP, and using standard API's. The downside would be the complexity of > configuring > NTP, and

Re: [PATCH 3/4] hv_util: use do_adjtimex() to update system time

2017-01-09 Thread Stephen Hemminger
ernel@vger.kernel.org; KY > > Srinivasan ; Haiyang Zhang ; > > John Stultz ; Thomas Gleixner > > Subject: Re: [PATCH 3/4] hv_util: use do_adjtimex() to update system time > > > > "Alex Ng (LIS)" writes: > > > > >> -Original Mess

RE: [PATCH 3/4] hv_util: use do_adjtimex() to update system time

2017-01-03 Thread Alex Ng (LIS)
eixner > Subject: Re: [PATCH 3/4] hv_util: use do_adjtimex() to update system time > > "Alex Ng (LIS)" writes: > > >> -Original Message- > >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > >> Sent: Monday, January 2, 2017 11:41 AM >

Re: [PATCH 3/4] hv_util: use do_adjtimex() to update system time

2017-01-03 Thread Vitaly Kuznetsov
iyang Zhang ; John Stultz >> ; Thomas Gleixner ; Alex Ng >> (LIS) >> Subject: [PATCH 3/4] hv_util: use do_adjtimex() to update system time >> >> With TimeSync version 4 protocol support we started updating system time >> continuously through the whole lifetim

RE: [PATCH 3/4] hv_util: use do_adjtimex() to update system time

2017-01-02 Thread Alex Ng (LIS)
(LIS) > Subject: [PATCH 3/4] hv_util: use do_adjtimex() to update system time > > With TimeSync version 4 protocol support we started updating system time > continuously through the whole lifetime of Hyper-V guests. Every 5 seconds > there is a time sample from the host which trig

[PATCH 3/4] hv_util: use do_adjtimex() to update system time

2017-01-02 Thread Vitaly Kuznetsov
With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time from the host is very accurate such adjustments may cause iss