svn commit: r260244 - stable/10/sys/kern

Alexander Motin mav at FreeBSD.org
Fri Jan 3 20:47:52 UTC 2014


Author: mav
Date: Fri Jan  3 20:47:51 2014
New Revision: 260244
URL: http://svnweb.freebsd.org/changeset/base/260244

Log:
  MFC r259464:
  Fix periodic per-CPU timers startup on boot.

Modified:
  stable/10/sys/kern/kern_clocksource.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/kern/kern_clocksource.c
==============================================================================
--- stable/10/sys/kern/kern_clocksource.c	Fri Jan  3 20:45:56 2014	(r260243)
+++ stable/10/sys/kern/kern_clocksource.c	Fri Jan  3 20:47:51 2014	(r260244)
@@ -234,7 +234,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-stable-10 mailing list