[lkml]   [2004]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.4.23aa2 (bugfixes and important VM improvements for the high end)
    Ingo Molnar <> writes:

    > * Andrea Arcangeli <> wrote:
    > > I thought time() wouldn't be called more than 1 per second anyways,
    > > why would anyone call time more than 1 per second?
    > if mysql in fact calls time() frequently, then it should rather start a
    > worker thread that updates a global time variable every second.

    I just fixed the x86-64 vsyscall vtime() to only read the user mapped
    __xtime.tv_sec. This should be equivalent. Only drawback is that if a
    timer tick is delayed for too long it won't fix that, but I guess
    that's reasonable for a 1s resolution.


    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 14:01    [W:0.019 / U:8.560 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site