PERFORCE change 50808 for review

Julian Elischer julian at FreeBSD.org
Sat Apr 10 18:39:53 PDT 2004


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

Change 50808 by julian at 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;


More information about the p4-projects mailing list