From owner-p4-projects@FreeBSD.ORG Mon Sep 13 22:52:40 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EC55516A4D0; Mon, 13 Sep 2004 22:52:39 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C269716A4CE for ; Mon, 13 Sep 2004 22:52:39 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4FB443D58 for ; Mon, 13 Sep 2004 22:52:39 +0000 (GMT) (envelope-from julian@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8DMqdHq091620 for ; Mon, 13 Sep 2004 22:52:39 GMT (envelope-from julian@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8DMqdal091617 for perforce@freebsd.org; Mon, 13 Sep 2004 22:52:39 GMT (envelope-from julian@freebsd.org) Date: Mon, 13 Sep 2004 22:52:39 GMT Message-Id: <200409132252.i8DMqdal091617@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 Subject: PERFORCE change 61459 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 22:52:40 -0000 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) ====