[lkml]   [2003]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] linux-2.5.67_lost-tick-fix_A2
    On Wed, 2003-04-16 at 16:03, george anzinger wrote:
    > john stultz wrote:
    > > Some of the divs and mods being added here might concern folks, but by
    > > not calling timer->get_offset() in detect_lost_tick() we eliminate much
    > > of the same math. I did some simple cycle counting and the new code
    > > comes out on average equivalent or faster.
    > I think that if you look at the generated code you may find that there
    > are NO div in the asm code. The C folks know about scaling to avoid
    > div especially when the divisor is a constant :)

    Indeed you are correct. An objdump of both the timer_tsc.o and
    timer_cyclone.o code reveals that the only divs occur in init code. I
    like your argument better then mine :)


    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: 2005-03-22 13:34    [W:0.022 / U:4.288 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site