Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2004 22:52:39 GMT
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 61459 for review
Message-ID:  <200409132252.i8DMqdal091617@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=61459

Change 61459 by julian@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) ====



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409132252.i8DMqdal091617>