Re: [PATCH 2/3] ntp: add ADJ_SETOFFSET mode bit

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: John Stultz
Date: Tuesday, January 4, 2011 - 12:14 pm

On Tue, 2011-01-04 at 09:40 +0100, Richard Cochran wrote:

Yea. adjtimex is a combination of ntp_adjtime and the older adjtime
interfaces. So its not identical to David Mill's design, but it is
compatible.  In fact, it wasn't until somewhat recently that it picked
up the ntpv4 changes and MOD/ADJ_NANO.

By the way, I'm not saying we should switch from using mode flags to
mode numbers for the new interface as I'm not sure if it would confuse
users moving to it (being very similar, but slightly different can be
worse then being totally different). But I figure it warrants some
consideration. We do still have 4 unused bits in the modes flags after
your patch, so this may be a premature worry.

thanks
-john




--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/3] ntp: add ADJ_SETOFFSET mode bit, John Stultz, (Mon Dec 27, 4:40 pm)
Re: [PATCH 2/3] ntp: add ADJ_SETOFFSET mode bit, Kuwahara,T., (Tue Dec 28, 1:47 pm)
Re: [PATCH 2/3] ntp: add ADJ_SETOFFSET mode bit, John Stultz, (Mon Jan 3, 1:44 pm)
Re: [PATCH 2/3] ntp: add ADJ_SETOFFSET mode bit, Richard Cochran, (Tue Jan 4, 1:37 am)
Re: [PATCH 2/3] ntp: add ADJ_SETOFFSET mode bit, Richard Cochran, (Tue Jan 4, 1:40 am)
Re: [PATCH 2/3] ntp: add ADJ_SETOFFSET mode bit, John Stultz, (Tue Jan 4, 12:08 pm)
Re: [PATCH 2/3] ntp: add ADJ_SETOFFSET mode bit, John Stultz, (Tue Jan 4, 12:14 pm)