Date: Sat, 28 Aug 2004 00:30:34 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 60565 for review Message-ID: <200408280030.i7S0UYPZ081730@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=60565 Change 60565 by peter@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408280030.i7S0UYPZ081730>