PERFORCE change 117115 for review

Kip Macy kmacy at FreeBSD.org
Sun Apr 1 18:16:13 UTC 2007


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

Change 117115 by kmacy at 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);


More information about the p4-projects mailing list