From owner-cvs-src@FreeBSD.ORG Thu Sep 30 14:38:59 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD09A16A4CE; Thu, 30 Sep 2004 14:38:59 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D36B443D5C; Thu, 30 Sep 2004 14:38:59 +0000 (GMT) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8UEcxSa022772; Thu, 30 Sep 2004 14:38:59 GMT (envelope-from kensmith@repoman.freebsd.org) Received: (from kensmith@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8UEcx89022771; Thu, 30 Sep 2004 14:38:59 GMT (envelope-from kensmith) Message-Id: <200409301438.i8UEcx89022771@repoman.freebsd.org> From: Ken Smith Date: Thu, 30 Sep 2004 14:38:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sparc64/sparc64 machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2004 14:39:00 -0000 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