Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2014 20:47:52 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r260244 - stable/10/sys/kern
Message-ID:  <201401032047.s03KlqlX038047@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401032047.s03KlqlX038047>