[lkml]   [2006]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [NTP 5/9] add time_adjust to tick length

    On Mon, 21 Aug 2006, Atsushi Nemoto wrote:

    > On Thu, 10 Aug 2006 02:01:51 +0200, wrote:
    > > This folds update_ntp_one_tick() into second_overflow() and adds
    > > time_adjust to the tick length, this makes time_next_adjust unnecessary.
    > > This slightly changes the adjtime() behaviour, instead of applying it to
    > > the next tick, it's applied to the next second.
    > ...
    > > -/* Don't completely fail for HZ > 500. */
    > > -int tickadj = 500/HZ ? : 1; /* microsecs */
    > The tickadj is used by cris, frv, m32r, m68k, mips and sparc. This
    > patch would break build on those platforms.
    > I have not looked at this patch closely yet. Just a report.

    Oops, I indeed missed that. I searched for if anyone would change that
    value, but later forgot about the other users.
    A simple solution would be to move this (constant) value to a header and
    another rather simple solution would be to remove it completely, as it's
    rather bogus anyway. These users check time_adjust, which is unused in a
    NTP controlled system. The correct value to check would be the tick
    length, but I'm sure it's really worth the trouble.

    bye, Roman
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-08-20 19:27    [W:0.020 / U:3.948 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site