Messages in this thread | | | Subject | Re: 2.4.23aa2 (bugfixes and important VM improvements for the high end) | From | Andi Kleen <> | Date | 05 Mar 2004 16:51:15 +0100 |
| |
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/
| |