diff options
author | mav <mav@FreeBSD.org> | 2009-05-03 17:47:21 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-05-03 17:47:21 +0000 |
commit | 98565a1214eb4106f0a1b76ff6696b9980497195 (patch) | |
tree | ce5adc34e083eefdd76b28a61134b800569d7b6e /sys/i386/xen | |
parent | 77cd1e9862e8b7f432feb7272c92e04d5b0f47fd (diff) | |
download | FreeBSD-src-98565a1214eb4106f0a1b76ff6696b9980497195.zip FreeBSD-src-98565a1214eb4106f0a1b76ff6696b9980497195.tar.gz |
Rename statclock_disable variable to atrtcclock_disable that it actually is,
and hide it inside of atrtc driver. Add new tunable hint.atrtc.0.clock
controlling it. Setting it to 0 disables using RTC clock as stat-/
profclock sources.
Teach i386 and amd64 SMP platforms to emulate stat-/profclocks using i8254
hardclock, when LAPIC and RTC clocks are disabled.
This allows to reduce global interrupt rate of idle system down to about
100 interrupts per core, permitting C3 and deeper C-states provide maximum
CPU power efficiency.
Diffstat (limited to 'sys/i386/xen')
-rw-r--r-- | sys/i386/xen/clock.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/i386/xen/clock.c b/sys/i386/xen/clock.c index ce1c615..383eff4 100644 --- a/sys/i386/xen/clock.c +++ b/sys/i386/xen/clock.c @@ -120,7 +120,6 @@ int adjkerntz; /* local offset from GMT in seconds */ int clkintr_pending; int pscnt = 1; int psdiv = 1; -int statclock_disable; int wall_cmos_clock; u_int timer_freq = TIMER_FREQ; static int independent_wallclock; |