Re: [chrony-users] makestep in Chrony

2018-05-14 Thread Bill Unruh
On Tue, 15 May 2018, Hei Chan wrote: Hi Bill, Here is the source: https://elixir.bootlin.com/linux/v4.9/source/arch/x86/entry/vdso/vclock_gettime.c#L183 As you can see, clock_gettime() is in a while loop because sometimes, it might fail... Hm, yes. How much of a time delay do you get

Re: [chrony-users] makestep in Chrony

2018-05-14 Thread Hei Chan
Hi Bill, Here is the source:https://elixir.bootlin.com/linux/v4.9/source/arch/x86/entry/vdso/vclock_gettime.c#L183 As you can see, clock_gettime() is in a while loop because sometimes, it might fail... On Tuesday, May 15, 2018, 11:26:12 AM GMT+8, Bill Unruh wrote:

Re: [chrony-users] makestep in Chrony

2018-05-14 Thread Bill Unruh
On Tue, 15 May 2018, Hei Chan wrote: Thanks for your reply. See my comment inline. On Friday, May 11, 2018, 4:26:14 PM GMT+8, Miroslav Lichvar wrote: On Fri, May 11, 2018 at 12:30:30AM +, Hei Chan wrote: >  Hi Bill, > Sorry that I wasn't clear. > What I tried to

Re: [chrony-users] makestep in Chrony

2018-05-14 Thread Hei Chan
Thanks for your reply. See my comment inline. On Friday, May 11, 2018, 4:26:14 PM GMT+8, Miroslav Lichvar wrote: On Fri, May 11, 2018 at 12:30:30AM +, Hei Chan wrote: >  Hi Bill, > Sorry that I wasn't clear. > What I tried to do is to call clock_gettime() and