svn commit: r259464 - head/sys/kern
Alexander Motin
mav at FreeBSD.org
Mon Dec 16 13:52:19 UTC 2013
Author: mav
Date: Mon Dec 16 13:52:18 2013
New Revision: 259464
URL: http://svnweb.freebsd.org/changeset/base/259464
Log:
Fix periodic per-CPU timers startup on boot.
Reported by: neel
MFC after: 2 weeks
Modified:
head/sys/kern/kern_clocksource.c
Modified: head/sys/kern/kern_clocksource.c
==============================================================================
--- head/sys/kern/kern_clocksource.c Mon Dec 16 11:03:59 2013 (r259463)
+++ head/sys/kern/kern_clocksource.c Mon Dec 16 13:52:18 2013 (r259464)
@@ -233,7 +233,8 @@ handleevents(sbintime_t now, int fake)
if (!busy) {
state->idle = 0;
state->nextevent = t;
- loadtimer(now, 0);
+ loadtimer(now, (fake == 2) &&
+ (timer->et_flags & ET_FLAGS_PERCPU));
}
ET_HW_UNLOCK(state);
return (done);
More information about the svn-src-head
mailing list