Re: More breakage in native_rdtsc out of line in git-x86

From: H. Peter Anvin
Date: Wed Jan 09 2008 - 16:02:42 EST


Andi Kleen wrote:

People tend to make jokes about optimizing the idle loop too, but they're
actually wrong. Exit latency for the idle loop is important -- it decides how quickly you can react to load changes on idle CPUs.

For short udelays I suspect shorter exit latency is also moderately useful.

But anyways there are plenty of gtod users outside the X server.

e.g. common not user space case is packet timestamps.


It's also very common to put gtod calls around select and poll, because the standard interface doesn't tell you how long you have been away (Linux at least used to have it, but glibc "fixed" that...)

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/