PERFORCE change 100365 for review

Peter Wemm peter at FreeBSD.org
Fri Jun 30 23:50:49 UTC 2006


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

Change 100365 by peter at peter_daintree on 2006/06/30 23:50:43

	Convert new code that slipped in from the mainline.

Affected files ...

.. //depot/projects/bike_sched/sys/kern/sched_4bsd.c#4 edit

Differences ...

==== //depot/projects/bike_sched/sys/kern/sched_4bsd.c#4 (text+ko) ====

@@ -1194,11 +1194,9 @@
 void
 sched_relinquish(struct thread *td)
 {
-	struct ksegrp *kg;
 
-	kg = td->td_ksegrp;
 	mtx_lock_spin(&sched_lock);
-	if (kg->kg_pri_class == PRI_TIMESHARE)
+	if (td->td_pri_class == PRI_TIMESHARE)
 		sched_prio(td, PRI_MAX_TIMESHARE);
 	mi_switch(SW_VOL, NULL);
 	mtx_unlock_spin(&sched_lock);


More information about the p4-projects mailing list