Thread (43 messages) 43 messages, 8 authors, 2011-01-06

Re: [PATCH V7 1/8] ntp: add ADJ_SETOFFSET mode bit

From: Richard Cochran <hidden>
Date: 2010-12-23 06:14:09
Also in: lkml, netdev

On Thu, Dec 23, 2010 at 05:27:58AM +0900, Kuwahara,T. wrote:
On Wed, Dec 22, 2010 at 7:25 AM, john stultz [off-list ref] wrote:
quoted
I don't see why that would be better then adding a
clear new mode flag?
In short, time step is a special case of time slew.  Those are the same,
only different in one parameter, as is shown in my previous post.
That's why I said there's no need for adding a new mode.
Well, in addition to the objections raised by John, your suggested
implementation is also shortsighted. The field timex.constant is
copied into time_constant in some code paths. Obviously, this would be
a bad thing when timex.constant==-huge.

So, you need to clarify the interaction between ADJ_OFFSET,
ADJ_TIMECONST, ADJ_TAI, timex.constant, time_constant, and MAXTC.

If you would fully implement your idea, I expect it would become
obvious that it a bit of a hack, both in the kernel code and in the
user space interface. But, if you disagree, please just post a patch
with the complete implementation...

Thanks,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help