shithub: riscv

Download patch

ref: 784e6ff8cd431e80800e0d7b0a4c5f3b385d8d89
parent: fc88896fc1f7a1849e8f4e8c372b1e06ea836384
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Jan 10 10:12:28 EST 2014

kernel: fix fairshare formula in comment (thanks erik)

--- a/sys/src/9/port/proc.c
+++ b/sys/src/9/port/proc.c
@@ -317,7 +317,7 @@
 		return p->basepri;
 
 	/*
-	 *  fairshare = 1.000 * conf.nproc * 1.000/load,
+	 * fairshare = 1.000 * conf.nmach * 1.000/load,
 	 * except the decimal point is moved three places
 	 * on both load and fairshare.
 	 */
--