Re: [PATCH] ntp: Make periodic RTC update more reliable

2013-08-22 Thread John Stultz
On 08/01/2013 10:31 AM, Miroslav Lichvar wrote: > The current code requires that the scheduled update of the RTC happens > in the closest tick to the half of the second. This seems to be > difficult to achieve reliably. The scheduled work may be missing the > target time by a tick or two and be con

[PATCH] ntp: Make periodic RTC update more reliable

2013-08-01 Thread Miroslav Lichvar
The current code requires that the scheduled update of the RTC happens in the closest tick to the half of the second. This seems to be difficult to achieve reliably. The scheduled work may be missing the target time by a tick or two and be constantly rescheduled every second. Relax the limit to 10