diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-06-05 19:41:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-06-05 19:41:11 +0000 |
commit | 3aa23a86a75820bd20ec62d23fde366e31637be4 (patch) | |
tree | bced57cc983bb7ccbeb834ad28934f221065f7c3 /sys/arch/vax | |
parent | 1bdf3d7e0aba1d3ceccd927c2404a9df58ce9f28 (diff) |
Move the bufcachepercent setting code to MI locations -- set it to 42%
for now; that is unlikely to hit some of the remaining starvation bugs.
Repair the bufpages calculation too; i386 was doing it ahead of time
(incorrectly) and then re-calculating it.
ok thib
Diffstat (limited to 'sys/arch/vax')
-rw-r--r-- | sys/arch/vax/vax/machdep.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/arch/vax/vax/machdep.c b/sys/arch/vax/vax/machdep.c index ae4883faebc..cc1708640b7 100644 --- a/sys/arch/vax/vax/machdep.c +++ b/sys/arch/vax/vax/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.113 2011/04/18 21:44:56 guenther Exp $ */ +/* $OpenBSD: machdep.c,v 1.114 2011/06/05 19:41:08 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.108 2000/09/13 15:00:23 thorpej Exp $ */ /* @@ -108,17 +108,6 @@ #include "led.h" -#ifndef BUFCACHEPERCENT -#define BUFCACHEPERCENT 5 -#endif - -#ifdef BUFPAGES -int bufpages = BUFPAGES; -#else -int bufpages = 0; -#endif -int bufcachepercent = BUFCACHEPERCENT; - extern int virtual_avail, virtual_end; /* * We do these external declarations here, maybe they should be done |