PERFORCE change 61459 for review

Julian Elischer julian at FreeBSD.org
Mon Sep 13 15:52:40 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=61459

Change 61459 by julian at julian_ref on 2004/09/13 22:52:14

	fix debug code that always triggered.

Affected files ...

.. //depot/projects/nsched/sys/kern/kern_switch.c#24 edit
.. //depot/projects/nsched/sys/kern/sched_4bsd.c#51 edit

Differences ...

==== //depot/projects/nsched/sys/kern/kern_switch.c#24 (text+ko) ====

@@ -541,7 +541,7 @@
 	  ("thread has no (or wrong) sched-private part."));
 	KASSERT((td->td_inhibitors == 0),
 			("setrunqueue: trying to run inhibitted thread"));
-	CHECKRUNQ(td->td_ksegrp, td)
+	CHECKRUNQ(td->td_ksegrp, NULL)
 	pri = td->td_priority;
 	cpri = ctd->td_priority;
 	if (pri >= cpri || cold /* || dumping */ || TD_IS_INHIBITED(ctd) ||

==== //depot/projects/nsched/sys/kern/sched_4bsd.c#51 (text+ko) ====



More information about the p4-projects mailing list