[lkml]   [2008]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: More breakage in native_rdtsc out of line in git-x86
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...)


 \ /
  Last update: 2008-01-09 22:05    [W:0.042 / U:2.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site