hm, this patch syncs the TSCs every 20 seconds. That is enough to sync
up AMD CPUs where the TSC slows down _slightly_ (at 10 ppm per second or
so) when it's in HLT.
How does it behave in face of 'TSC stops' systems - systems with C2/C3
sleeps? Basically all modern CPUs that save power are affected by that:
the TSC get brutally cut when idle - almost all modern power saving
laptop, desktop and server CPUs.
Also, what does it do in face of cpufreq-affected TSCs? That too is a
large category of systems. (but most currently shipping CPUs fortunately
This actually looks pretty interesting IMO, and the code looks simple,
clean and straightforward enough - but it might not be enough to be a
generic solution.
Ingo
--