From owner-p4-projects@FreeBSD.ORG Fri Feb 29 19:48:19 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 19DFB10656D2; Fri, 29 Feb 2008 19:48:18 +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 BBAAB1065712 for ; Fri, 29 Feb 2008 19:48:14 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AA4978FC27 for ; Fri, 29 Feb 2008 19:48:14 +0000 (UTC) (envelope-from kmacy@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 m1TJmEmH092556 for ; Fri, 29 Feb 2008 19:48:14 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1TJmEML092554 for perforce@freebsd.org; Fri, 29 Feb 2008 19:48:14 GMT (envelope-from kmacy@freebsd.org) Date: Fri, 29 Feb 2008 19:48:14 GMT Message-Id: <200802291948.m1TJmEML092554@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 136466 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: Fri, 29 Feb 2008 19:48:19 -0000 http://perforce.freebsd.org/chv.cgi?CH=136466 Change 136466 by kmacy@pandemonium:kmacy:xen31 on 2008/02/28 22:53:49 remove noisy logging Affected files ... .. //depot/projects/xen31/sys/kern/sched_ule.c#8 edit Differences ... ==== //depot/projects/xen31/sys/kern/sched_ule.c#8 (text+ko) ==== @@ -467,7 +467,6 @@ THREAD_LOCK_ASSERT(ts->ts_thread, MA_OWNED); class = PRI_BASE(ts->ts_thread->td_pri_class); tdq->tdq_load++; - CTR2(KTR_SCHED, "cpu %d load: %d", TDQ_ID(tdq), tdq->tdq_load); if (class != PRI_ITHD && (ts->ts_thread->td_proc->p_flag & P_NOLOAD) == 0) #ifdef SMP @@ -499,7 +498,6 @@ KASSERT(tdq->tdq_load != 0, ("tdq_load_rem: Removing with 0 load on queue %d", TDQ_ID(tdq))); tdq->tdq_load--; - CTR1(KTR_SCHED, "load: %d", tdq->tdq_load); ts->ts_runq = NULL; } @@ -2395,9 +2393,7 @@ int cpuid; int cpu; #endif - CTR5(KTR_SCHED, "sched_add: %p(%s) prio %d by %p(%s)", - td, td->td_name, td->td_priority, curthread, - curthread->td_name); + THREAD_LOCK_ASSERT(td, MA_OWNED); ts = td->td_sched; /*