svn commit: r207137 - in stable/8/sys: amd64/isa i386/isa pc98/cbus

Attilio Rao attilio at FreeBSD.org
Sat Apr 24 00:49:20 UTC 2010


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;


More information about the svn-src-all mailing list