PERFORCE change 143385 for review
Julian Elischer
julian at FreeBSD.org
Thu Jun 12 19:18:20 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=143385
Change 143385 by julian at julian_trafmon1 on 2008/06/12 19:17:37
I thought I had removed all the scheduler bits.. but I missed one
Affected files ...
.. //depot/projects/vimage-commit2/src/sys/kern/sched_4bsd.c#3 edit
Differences ...
==== //depot/projects/vimage-commit2/src/sys/kern/sched_4bsd.c#3 (text+ko) ====
@@ -64,7 +64,6 @@
#ifdef KDTRACE_HOOKS
#include <sys/dtrace_bsd.h>
-#include <sys/vimage.h>
int dtrace_vtime_active;
dtrace_vtime_switch_func_t dtrace_vtime_switch_func;
#endif
@@ -234,15 +233,15 @@
static __inline void
sched_load_add(void)
{
- V_sched_tdcnt++;
- CTR1(KTR_SCHED, "global load: %d", V_sched_tdcnt);
+ sched_tdcnt++;
+ CTR1(KTR_SCHED, "global load: %d", sched_tdcnt);
}
static __inline void
sched_load_rem(void)
{
- V_sched_tdcnt--;
- CTR1(KTR_SCHED, "global load: %d", V_sched_tdcnt);
+ sched_tdcnt--;
+ CTR1(KTR_SCHED, "global load: %d", sched_tdcnt);
}
/*
* Arrange to reschedule if necessary, taking the priorities and
@@ -1421,7 +1420,7 @@
int
sched_load(void)
{
- return (V_sched_tdcnt);
+ return (sched_tdcnt);
}
int
More information about the p4-projects
mailing list