On Fri, Nov 17, 2000 at 01:51:11PM +0100, Christoph Rohland wrote: > gettimeofday is _way_ to slow for a lot of every day uses. So > applications will use rdtsc until we have some really fast > (non-syscall) way to have high resolution time diffs. During the x86-64 design I made sure that in x86-64 glibc will only know about vgettimeofday (vsyscall). If the machine is Asymetric MP with CPU running at different frequency (so that you need to know on which CPU you're running on to use rdtsc) the kernel will setup the vsyscall trampoline to fallback in the real slow syscall (but all SMP and UP machines will not need to enter/exit kernel this way and the vsyscall will be completly lock less... for obvious reasons :). So as worse you'll have to wait x86-64 to get that lightweight vgettimeofday. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Error in x86 CPU capabilities starting ... Christoph Rohland
- Re: Error in x86 CPU capabilities start... Jeff Garzik
- Re: Error in x86 CPU capabilities ... Christoph Rohland
- Re: Error in x86 CPU capabilit... Andi Kleen
- Re: Error in x86 CPU capabilit... Jeff Garzik
- Re: Error in x86 CPU capabilit... Andi Kleen
- Re: Error in x86 CPU capabilit... Tigran Aivazian
- Re: Error in x86 CPU capabilit... Christoph Rohland
- Re: Error in x86 CPU capabilit... Alan Cox
- Re: Error in x86 CPU capabilit... Arjan van de Ven
- Re: Error in x86 CPU capabilities start... Andrea Arcangeli
- Re: Error in x86 CPU capabilities ... Christoph Rohland
- Re: Error in x86 CPU capabilit... Andrea Arcangeli
- Re: Error in x86 CPU capabilit... Christoph Rohland
- Re: Error in x86 CPU capabilit... Albert D. Cahalan
- Re: Error in x86 CPU capabilities starting ... Mikael Pettersson
- Re: Error in x86 CPU capabilities starting with tes... Andi Kleen
- Re: Error in x86 CPU capabilities starting with... Jan Niehusmann
- Re: Error in x86 CPU capabilities starting with test5/6 Mohammad A. Haque