summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-06 00:45:57 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-06 00:45:57 +0000
commit44cb8b104e1d8ecebdc6da008bda849aa211e760 (patch)
tree8aa66160a5e5f39c4c04825857dab2a47c951429 /sys/arch/vax
parentd0ba28a350b4bad5a4259dc0b1d0785d03c72913 (diff)
Update some comments wrt. the CLSIZE changes.
And remove that memory price comment from 1981. It is amusing, but also confusing because the math in there is only correct on vax.
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/include/vmparam.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/arch/vax/include/vmparam.h b/sys/arch/vax/include/vmparam.h
index 52d54a8ea83..850cf9a2525 100644
--- a/sys/arch/vax/include/vmparam.h
+++ b/sys/arch/vax/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.11 2001/05/05 20:56:56 art Exp $ */
+/* $OpenBSD: vmparam.h,v 1.12 2001/05/06 00:45:56 art Exp $ */
/* $NetBSD: vmparam.h,v 1.32 2000/03/07 00:05:59 matt Exp $ */
/*-
@@ -110,17 +110,6 @@
* by the page replacement algorithm. Basically this says that if you are
* swapped in you deserve some resources. We protect the last SAFERSS
* pages against paging and will just swap you out rather than paging you.
- * Note that each process has at least UPAGES+CLSIZE pages which are not
- * paged anyways (this is currently 8+2=10 pages or 5k bytes), so this
- * number just means a swapped in process is given around 25k bytes.
- * Just for fun: current memory prices are 4600$ a megabyte on VAX (4/22/81),
- * so we loan each swapped in process memory worth 100$, or just admit
- * that we don't consider it worthwhile and swap it out to disk which costs
- * $30/mb or about $0.75.
- * Update: memory prices have changed recently (9/96). At the current
- * value of $6 per megabyte, we lend each swapped in process memory worth
- * $0.15, or just admit that we don't consider it worthwhile and swap it out
- * to disk which costs $0.20/MB, or just under half a cent.
*/
#define SAFERSS 8 /* nominal ``small'' resident set size