PERFORCE change 129946 for review

Peter Wemm peter at FreeBSD.org
Sat Dec 1 17:20:09 PST 2007


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

Change 129946 by peter at peter_daintree on 2007/12/02 01:19:41

	diff reduction

Affected files ...

.. //depot/projects/bike_sched/sys/kern/kern_switch.c#7 edit

Differences ...

==== //depot/projects/bike_sched/sys/kern/kern_switch.c#7 (text+ko) ====

@@ -134,14 +134,6 @@
 
 retry:
 	td = sched_choose();
-	if (td) {
-		CTR2(KTR_RUNQ, "choosethread: td=%p pri=%d",
-		    td, td->td_priority);
-	} else {
-		/* Simulate runq_choose() having returned the idle thread */
-		td = PCPU_GET(idlethread);
-	}
-
 	/*
 	 * If we are in panic, only allow system threads,
 	 * plus the one we are running in, to be run.


More information about the p4-projects mailing list