svn commit: r244395 - projects/calloutng/sys/kern
Alexander Motin
mav at FreeBSD.org
Tue Dec 18 12:23:51 UTC 2012
Author: mav
Date: Tue Dec 18 12:23:50 2012
New Revision: 244395
URL: http://svnweb.freebsd.org/changeset/base/244395
Log:
Remove condition, useless after callout_tickstofirst() removal..
Modified:
projects/calloutng/sys/kern/kern_clocksource.c
Modified: projects/calloutng/sys/kern/kern_clocksource.c
==============================================================================
--- projects/calloutng/sys/kern/kern_clocksource.c Tue Dec 18 10:44:47 2012 (r244394)
+++ projects/calloutng/sys/kern/kern_clocksource.c Tue Dec 18 12:23:50 2012 (r244395)
@@ -281,7 +281,7 @@ getnextcpuevent(struct bintime *event, i
*event = state->nexthard;
if (idle || (!activetick && !profiling &&
(timer->et_flags & ET_FLAGS_PERCPU) == 0)) {
- hardfreq = idle ? 2 : (stathz / 2);
+ hardfreq = 2;
if (curcpu == CPU_FIRST() && tc_min_ticktock_freq > hardfreq)
hardfreq = tc_min_ticktock_freq;
if (hz > hardfreq) {
More information about the svn-src-projects
mailing list