From owner-svn-src-all@FreeBSD.ORG Fri Apr 9 14:22:10 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02B261065689; Fri, 9 Apr 2010 14:22:10 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E559E8FC1D; Fri, 9 Apr 2010 14:22:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o39EM9jx078069; Fri, 9 Apr 2010 14:22:09 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o39EM9rW078067; Fri, 9 Apr 2010 14:22:09 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <201004091422.o39EM9rW078067@svn.freebsd.org> From: Attilio Rao Date: Fri, 9 Apr 2010 14:22:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r206421 - in head/sys: pc98/cbus x86/isa X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2010 14:22:10 -0000 Author: attilio Date: Fri Apr 9 14:22:09 2010 New Revision: 206421 URL: http://svn.freebsd.org/changeset/base/206421 Log: Default the machdep.lapic_allclocks to be enabled in order to cope with broken atrtc. Now if you want more correct stats on profhz and stathz it may be disabled by setting to 0. Reported by: A. Akephalos , Jakub Lach MFC: 1 week Modified: head/sys/pc98/cbus/clock.c head/sys/x86/isa/clock.c Modified: head/sys/pc98/cbus/clock.c ============================================================================== --- head/sys/pc98/cbus/clock.c Fri Apr 9 13:58:54 2010 (r206420) +++ head/sys/pc98/cbus/clock.c Fri Apr 9 14:22:09 2010 (r206421) @@ -93,7 +93,7 @@ TUNABLE_INT("hw.i8254.freq", &i8254_freq int i8254_max_count; static int i8254_real_max_count; -static int lapic_allclocks; +static int lapic_allclocks = 1; TUNABLE_INT("machdep.lapic_allclocks", &lapic_allclocks); static struct mtx clock_lock; Modified: head/sys/x86/isa/clock.c ============================================================================== --- head/sys/x86/isa/clock.c Fri Apr 9 13:58:54 2010 (r206420) +++ head/sys/x86/isa/clock.c Fri Apr 9 14:22:09 2010 (r206421) @@ -97,7 +97,7 @@ TUNABLE_INT("hw.i8254.freq", &i8254_freq int i8254_max_count; static int i8254_real_max_count; -static int lapic_allclocks; +static int lapic_allclocks = 1; TUNABLE_INT("machdep.lapic_allclocks", &lapic_allclocks); struct mtx clock_lock;