From owner-p4-projects@FreeBSD.ORG Thu Jun 12 19:18:20 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A8E861065688; Thu, 12 Jun 2008 19:18:20 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AEAB1065685 for ; Thu, 12 Jun 2008 19:18:20 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6938FC0A for ; Thu, 12 Jun 2008 19:18:20 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m5CJIKBf096199 for ; Thu, 12 Jun 2008 19:18:20 GMT (envelope-from julian@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m5CJIKj9096197 for perforce@freebsd.org; Thu, 12 Jun 2008 19:18:20 GMT (envelope-from julian@freebsd.org) Date: Thu, 12 Jun 2008 19:18:20 GMT Message-Id: <200806121918.m5CJIKj9096197@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to julian@freebsd.org using -f From: Julian Elischer To: Perforce Change Reviews Cc: Subject: PERFORCE change 143385 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 19:18:20 -0000 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 -#include 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