Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2007 18:16:12 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 117115 for review
Message-ID:  <200704011816.l31IGCml076048@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

Change 117115 by kmacy@kmacy_vt-x:opentoe_init on 2007/04/01 18:15:41

	fix ithread scheduling to be curcpu

Affected files ...

.. //depot/projects/opentoe/sys/kern/sched_ule.c#2 edit

Differences ...

==== //depot/projects/opentoe/sys/kern/sched_ule.c#2 (text+ko) ====

@@ -1859,8 +1859,7 @@
 			CTR2(KTR_ULE, "ithd %d < %d",
 			    td->td_priority, PRI_MAX_ITHD);
 			ts->ts_cpu = cpuid;
-		}
-		if (pick_pri)
+		} else if (pick_pri)
 			ts->ts_cpu = tdq_pickpri(tdq, ts, flags);
 		else
 			ts->ts_cpu = tdq_pickidle(tdq, ts);



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