Date: Thu, 12 Jun 2008 19:18:20 GMT From: Julian Elischer <julian@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 143385 for review Message-ID: <200806121918.m5CJIKj9096197@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=143385 Change 143385 by julian@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806121918.m5CJIKj9096197>