PERFORCE change 104680 for review

Chris Jones cdjones at FreeBSD.org
Mon Aug 21 11:05:36 UTC 2006


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

Change 104680 by cdjones at cdjones_meanook on 2006/08/21 11:05:23

	Exeunt.

Affected files ...

.. //depot/projects/soc2006/cdjones_jail/README#3 edit
.. //depot/projects/soc2006/cdjones_jail/src/sys/kern/sched_4bsd.c#9 edit

Differences ...

==== //depot/projects/soc2006/cdjones_jail/README#3 (text+ko) ====

@@ -4,4 +4,8 @@
 you need to take to use this without making your libc.so unusable.  
 Follow the instructions in docs/INSTALL carefully.
 
+The work I've done is licensed under the current BSD license.  This 
+project was brought to you with the kind help of Google's Summer of 
+Code, Kip Macy, and the Planet Smashers.
+
 -- Chris Jones (cdjones at freebsd.org), 21 August 2006

==== //depot/projects/soc2006/cdjones_jail/src/sys/kern/sched_4bsd.c#9 (text+ko) ====

@@ -659,7 +659,7 @@
 			skew /= max(total_est_cpu, 1) * max(pr->pr_sched_shares, 1);
 			if (skew > 0) {
 				/* wait your turn until your cpu usage's proportionate */
-				newpriority = PRI_MAX_IDLE;
+				newpriority = PRI_MAX_IDLE - 1;
 			} else {
 				newpriority = min(max(newpriority, PRI_MIN_TIMESHARE),
 						  PRI_MAX_TIMESHARE);


More information about the p4-projects mailing list