lkml.org 
[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)
    From
    Date
    Ingo Molnar <mingo@elte.hu> writes:

    > * Andrea Arcangeli <andrea@suse.de> 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.

    -Andi

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