PERFORCE change 60565 for review

Peter Wemm peter at FreeBSD.org
Fri Aug 27 17:30:35 PDT 2004


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

Change 60565 by peter at peter_melody on 2004/08/28 00:30:02

	jeff says the oncpu line is redundant too

Affected files ...

.. //depot/projects/hammer/sys/kern/sched_ule.c#43 edit

Differences ...

==== //depot/projects/hammer/sys/kern/sched_ule.c#43 (text+ko) ====

@@ -1199,7 +1199,6 @@
 	}
 	if (newtd != NULL) {
 		kseq_load_add(KSEQ_SELF(), newtd->td_kse);
-		ke->ke_cpu = PCPU_GET(cpuid);
 #if 0
 /*
 05:25 <Jeffr> The runq should be NULL and should stay NULL at that point.
@@ -1208,6 +1207,7 @@
 05:26 <Jeffr> In the preemption case I was assigning it to a runq but never adding the load.
 05:26 <Jeffr> So this probably caused the counter to hit -1.
 */
+		ke->ke_cpu = PCPU_GET(cpuid);
 		ke->ke_runq = KSEQ_SELF()->ksq_curr;
 #endif
 	} else


More information about the p4-projects mailing list