ntpd: suppress in-kernel frequency correction in first 8 adjtimex calls
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 10 Mar 2018 20:25:53 +0000 (21:25 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 10 Mar 2018 20:25:53 +0000 (21:25 +0100)
commit39dfb4de38fc5b31ca4472dbf45bcde3bb0d6e77
treeb1b8065a8a1082c73450e37e09d1f3894b24f6b9
parent3293bc146985c56790033409facc0ad64a471084
ntpd: suppress in-kernel frequency correction in first 8 adjtimex calls

In other words: try to correct initially existing clock offset first,
before assuming that our clock drifts.

function                                             old     new   delta
update_local_clock                                   826     834      +8
ntp_init                                             550     557      +7
filter_datapoints                                    179     173      -6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 15/-6)               Total: 9 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ntpd.c