From owner-svn-src-all@FreeBSD.ORG Sat Apr 24 00:49:20 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 4702C106566C; Sat, 24 Apr 2010 00:49:20 +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 1B1678FC0A; Sat, 24 Apr 2010 00:49:20 +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 o3O0nKlZ064510; Sat, 24 Apr 2010 00:49:20 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3O0nJqi064506; Sat, 24 Apr 2010 00:49:19 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <201004240049.o3O0nJqi064506@svn.freebsd.org> From: Attilio Rao Date: Sat, 24 Apr 2010 00:49:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r207137 - in stable/8/sys: amd64/isa i386/isa pc98/cbus 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: Sat, 24 Apr 2010 00:49:20 -0000 Author: attilio Date: Sat Apr 24 00:49:19 2010 New Revision: 207137 URL: http://svn.freebsd.org/changeset/base/207137 Log: MFC r206421: 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. Sponsored by: Sandvine Incorporated Modified: stable/8/sys/amd64/isa/clock.c stable/8/sys/i386/isa/clock.c stable/8/sys/pc98/cbus/clock.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) stable/8/sys/geom/sched/ (props changed) Modified: stable/8/sys/amd64/isa/clock.c ============================================================================== --- stable/8/sys/amd64/isa/clock.c Fri Apr 23 23:09:18 2010 (r207136) +++ stable/8/sys/amd64/isa/clock.c Sat Apr 24 00:49:19 2010 (r207137) @@ -84,7 +84,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; Modified: stable/8/sys/i386/isa/clock.c ============================================================================== --- stable/8/sys/i386/isa/clock.c Fri Apr 23 23:09:18 2010 (r207136) +++ stable/8/sys/i386/isa/clock.c Sat Apr 24 00:49:19 2010 (r207137) @@ -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; Modified: stable/8/sys/pc98/cbus/clock.c ============================================================================== --- stable/8/sys/pc98/cbus/clock.c Fri Apr 23 23:09:18 2010 (r207136) +++ stable/8/sys/pc98/cbus/clock.c Sat Apr 24 00:49:19 2010 (r207137) @@ -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;