diff options
author | marius <marius@FreeBSD.org> | 2008-09-20 11:26:13 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2008-09-20 11:26:13 +0000 |
commit | 5f0e19e7dfea53f7e3b21d64021a42f35ee2d45f (patch) | |
tree | 9ef9ad76901e61f27dc1e4f8731ee4f7a1f4cc9a /sys/sparc64/include | |
parent | 12843f93b9d7372b583e0d4102c840304cc73fca (diff) | |
download | FreeBSD-src-5f0e19e7dfea53f7e3b21d64021a42f35ee2d45f.zip FreeBSD-src-5f0e19e7dfea53f7e3b21d64021a42f35ee2d45f.tar.gz |
Use the STICK timers only when absolutely necessary, i.e. if a machine
consists of CPUs running at different speeds, for driving hardclock as
these timers in turn are driven at frequencies as low as 5MHz, resulting
in bad granularity compared to the TICK timers. However, don't employ
the workaround for the BlackBird erratum #1 when using the TICK timer
on machines with cheetah-class CPUs for performance reasons.
Reported by: Florian Smeets
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r-- | sys/sparc64/include/tick.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sparc64/include/tick.h b/sys/sparc64/include/tick.h index 456e9f0..9182cb4 100644 --- a/sys/sparc64/include/tick.h +++ b/sys/sparc64/include/tick.h @@ -29,6 +29,8 @@ #ifndef _MACHINE_TICK_H_ #define _MACHINE_TICK_H_ +extern u_int hardclock_use_stick; + void tick_clear(void); void tick_start(void); void tick_stop(void); |