lkml.org 
[lkml]   [2004]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: dynamic-hz
    Hi!

    > > Well most x86(64) these days have local APICs and that provides a
    > > relatively inexpensive one shot timer mode.
    >
    > I doubt a one shot is appropriate. The irq latency is variable and we
    > won't be able to atomically read tsc and rearm the one-shot timer. The
    > intemediate error will propagate over time.

    But that does not matter, right? Yes, one-shot timer will not fire
    exactly at right place, but as long as you are reading TSC and basing
    next shot on current time, error should not accumulate.
    Pavel
    --
    Boycott Kodak -- for their patent abuse against Java.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:0.035 / U:0.268 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site