Date: Sat, 10 Apr 2004 18:39:52 -0700 (PDT) From: Julian Elischer <julian@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 50808 for review Message-ID: <200404110139.i3B1dqrY099676@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=50808 Change 50808 by julian@julian_jules1 on 2004/04/10 18:39:12 delete bsd4.4 sandbox sched_4bsd.c on its own is enough. add a IFC for the ULE even though I will probably not use this version of that file, Affected files ... .. //depot/projects/nsched/sys/kern/scheduler/4bsd/sched_4bsd.c#5 delete .. //depot/projects/nsched/sys/kern/scheduler/4bsd/sched_4bsd_kse.c#8 delete .. //depot/projects/nsched/sys/kern/scheduler/4bsd/sched_4bsd_kse.h#4 delete .. //depot/projects/nsched/sys/kern/scheduler/4bsd/sched_4bsd_runq.c#2 delete .. //depot/projects/nsched/sys/kern/scheduler/ule/sched_ule.c#2 edit Differences ... ==== //depot/projects/nsched/sys/kern/scheduler/ule/sched_ule.c#2 (text+ko) ==== @@ -716,7 +716,7 @@ * threshold at which we start to reassign kses has a large impact * on the overall performance of the system. Tuned too high and * some CPUs may idle. Too low and there will be excess migration - * and context swiches. + * and context switches. */ if (ksg->ksg_load > (ksg->ksg_cpus * 2) && kseq_idle) { /* @@ -1007,7 +1007,7 @@ * will not bring us back into range. Dividing by two here forces * us into the range of [3/5 * SCHED_INTERACT_MAX, SCHED_INTERACT_MAX] */ - if (sum > (SCHED_INTERACT_MAX / 5) * 6) { + if (sum > (SCHED_SLP_RUN_MAX / 5) * 6) { kg->kg_runtime /= 2; kg->kg_slptime /= 2; return;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404110139.i3B1dqrY099676>
