Date: Sat, 24 Apr 2010 00:49:19 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r207137 - in stable/8/sys: amd64/isa i386/isa pc98/cbus Message-ID: <201004240049.o3O0nJqi064506@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004240049.o3O0nJqi064506>