summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-01-10 15:12:28 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-01-10 15:12:28 +0100
commit784e6ff8cd431e80800e0d7b0a4c5f3b385d8d89 (patch)
tree85e218033f5eef6bd67704d80cc6e55f82ce81d9
parentfc88896fc1f7a1849e8f4e8c372b1e06ea836384 (diff)
downloadplan9front-784e6ff8cd431e80800e0d7b0a4c5f3b385d8d89.tar.xz
kernel: fix fairshare formula in comment (thanks erik)
-rw-r--r--sys/src/9/port/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/proc.c b/sys/src/9/port/proc.c
index 911bfd608..fd2461f5f 100644
--- a/sys/src/9/port/proc.c
+++ b/sys/src/9/port/proc.c
@@ -317,7 +317,7 @@ reprioritize(Proc *p)
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.
*/