diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-06 00:45:57 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-06 00:45:57 +0000 |
commit | 44cb8b104e1d8ecebdc6da008bda849aa211e760 (patch) | |
tree | 8aa66160a5e5f39c4c04825857dab2a47c951429 /sys/arch/mvme88k | |
parent | d0ba28a350b4bad5a4259dc0b1d0785d03c72913 (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/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/include/vmparam.h | 9 | ||||
-rw-r--r-- | sys/arch/mvme88k/mvme88k/vm_machdep.c | 3 |
2 files changed, 2 insertions, 10 deletions
diff --git a/sys/arch/mvme88k/include/vmparam.h b/sys/arch/mvme88k/include/vmparam.h index d4d294c63fe..9c1cb050964 100644 --- a/sys/arch/mvme88k/include/vmparam.h +++ b/sys/arch/mvme88k/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.10 2001/05/05 20:56:46 art Exp $ */ +/* $OpenBSD: vmparam.h,v 1.11 2001/05/06 00:45:53 art Exp $ */ /* * Mach Operating System * Copyright (c) 1992 Carnegie Mellon University @@ -116,13 +116,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. */ #define SAFERSS 4 /* nominal ``small'' resident set size protected against replacement */ diff --git a/sys/arch/mvme88k/mvme88k/vm_machdep.c b/sys/arch/mvme88k/mvme88k/vm_machdep.c index c4271f736cd..828a9e94356 100644 --- a/sys/arch/mvme88k/mvme88k/vm_machdep.c +++ b/sys/arch/mvme88k/mvme88k/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.23 2001/05/05 21:26:39 art Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.24 2001/05/06 00:45:54 art Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. @@ -500,7 +500,6 @@ badpaddr(caddr_t pa, int size) /* * Move pages from one kernel virtual address to another. - * Size must be a multiple of CLSIZE. */ void pagemove(caddr_t from, caddr_t to, size_t size) |