[RFC] Enabling invariant TSC timecounter on SMP
Andriy Gapon
avg at FreeBSD.org
Tue May 31 11:18:29 UTC 2011
on 24/05/2011 20:56 Jung-uk Kim said the following:
> I think it's about time to enable invariant TSC timecounter on SMP by
> default. Please see the attached patch. It is also available from
> here:
>
> http://people.freebsd.org/~jkim/tsc_smp_test4.diff
>
> avg convinced me enough that it should be an opt-out feature going
> forward. :-)
Not sure if I really did that.
My position is this:
- if we think that TSC is SMP-safe then it should have the best priority
- we should do our best to auto-guess if TSC is SMP-safe unless a user explicitly
overrides that property (either via explicit testing or by making guesses based on
CPU model or etc)
> Comments?
Perhaps I missed it, but I don't remember the "lowres" part of the patch being
discussed.
--
Andriy Gapon
More information about the freebsd-hackers
mailing list