Re: [PATCH 4/4] hv_util: improve time adjustment accuracy by disabling interrupts

2017-01-03 Thread Vitaly Kuznetsov
Stephen Hemminger writes: > On Mon, 2 Jan 2017 20:41:14 +0100 > Vitaly Kuznetsov wrote: > >> If we happen to receive interrupts during hv_set_host_time() execution >> our adjustments may get inaccurate. Make the whole function atomic. >> Unfortunately, we can's call do_settimeofday64() with int

Re: [PATCH 4/4] hv_util: improve time adjustment accuracy by disabling interrupts

2017-01-02 Thread Stephen Hemminger
On Mon, 2 Jan 2017 20:41:14 +0100 Vitaly Kuznetsov wrote: > If we happen to receive interrupts during hv_set_host_time() execution > our adjustments may get inaccurate. Make the whole function atomic. > Unfortunately, we can's call do_settimeofday64() with interrupts > disabled as some cross-CPU

[PATCH 4/4] hv_util: improve time adjustment accuracy by disabling interrupts

2017-01-02 Thread Vitaly Kuznetsov
If we happen to receive interrupts during hv_set_host_time() execution our adjustments may get inaccurate. Make the whole function atomic. Unfortunately, we can's call do_settimeofday64() with interrupts disabled as some cross-CPU work is being done but this call happens very rarely. Signed-off-by