* Martin J. Bligh <[email protected]> wrote:
> > - /*
> > - * In the NUMA case we dont use the TSC as they are not
> > - * synchronized across all CPUs.
> > - */
> > -#ifndef CONFIG_NUMA
> > - if (!use_tsc)
> > -#endif
> > + if (!cpu_has_tsc)
> > /* no locking but a rare wrong value is not a big deal */
> > return jiffies_64 * (1000000000 / HZ);
>
> Humpf. That does look dangerous on a NUMA-Q. The TSCs aren't synced,
> and we can't use them .... have to use PIT, whether the CPUs have TSC
> or not.
is the only problem the unsyncedness? That should be fine as far as the
scheduler is concerned. (we compensate for per-CPU drifts)
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]