PERFORCE change 136466 for review
Kip Macy
kmacy at FreeBSD.org
Fri Feb 29 19:48:19 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=136466
Change 136466 by kmacy at 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;
/*
More information about the p4-projects
mailing list