by ComputerGuru · 5y ago · 0 comments
/*
* Intel systems are normally all synchronized.
* Exceptions must mark TSC as unstable:
*/
if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) {
/* assume multi socket systems are not synchronized: */
if (num_possible_cpus() > 1)
return 1;
}
From unsynchronized_tsc function at https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...Yes, I should've emphasized this.
> hey probably just got lucky in that the drift always exceeded the time that elapsed between calls on other cpus
And this is also true. :D But I would say we were lucky to notice this problem at all because it really doesn't happen on that many CPUs, at least on the ones we tried out.