Date: Thu, 30 Sep 2004 14:38:59 +0000 (UTC) From: Ken Smith <kensmith@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/sparc64 machdep.c Message-ID: <200409301438.i8UEcx89022771@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kensmith 2004-09-30 14:38:59 UTC
FreeBSD src repository
Modified files:
sys/sparc64/sparc64 machdep.c
Log:
This along with v1.6 of counter.c fixes some timecounter issues on
MP machines (hopefully). CPU timers are OK on UP machines but we
don't keep the timers in sync on MP machines so if the CPU's timer
is chosen as the primary timecounter it's possible for time to
not be monotonically increasing because different CPU's counters
may be used at different times. But the CPU's counters are otherwise
one of the higher quality counters available. So, on UP machines
we'll use a relatively high quality value but on MP machines we'll
use a quality that should prevent the CPU's counters from being chosen.
Requested by: green (who did the first version of the patch)
Reviewed by: marius, green
MFC after: 1 week
Revision Changes Path
1.114 +19 -0 src/sys/sparc64/sparc64/machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409301438.i8UEcx89022771>
