svn commit: r246415 - projects/calloutng/sys/kern

Davide Italiano davide at FreeBSD.org
Wed Feb 6 16:25:43 UTC 2013


Author: davide
Date: Wed Feb  6 16:25:42 2013
New Revision: 246415
URL: http://svnweb.freebsd.org/changeset/base/246415

Log:
  Remove a stale comment, introduced in r238424. Now we can deal with
  sub-tick precision.

Modified:
  projects/calloutng/sys/kern/kern_event.c

Modified: projects/calloutng/sys/kern/kern_event.c
==============================================================================
--- projects/calloutng/sys/kern/kern_event.c	Wed Feb  6 15:55:41 2013	(r246414)
+++ projects/calloutng/sys/kern/kern_event.c	Wed Feb  6 16:25:42 2013	(r246415)
@@ -534,13 +534,6 @@ filt_timerexpire(void *knx)
 	kn->kn_data++;
 	KNOTE_ACTIVATE(kn, 0);	/* XXX - handle locking */
 
-	/*
-	 * timertoticks() uses tvtohz() which always adds 1 to allow
-	 * for the time until the next clock interrupt being strictly
-	 * less than 1 clock tick.  We don't want that here since we
-	 * want to appear to be in sync with the clock interrupt even
-	 * when we're delayed.
-	 */
 	if ((kn->kn_flags & EV_ONESHOT) != EV_ONESHOT) {
 		calloutp = (struct callout *)kn->kn_hook;
 		callout_reset_sbt_on(calloutp,


More information about the svn-src-projects mailing list