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/mvmeppc | |
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/mvmeppc')
-rw-r--r-- | sys/arch/mvmeppc/mvmeppc/machdep.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/arch/mvmeppc/mvmeppc/machdep.c b/sys/arch/mvmeppc/mvmeppc/machdep.c index c85a9859dfb..849639a665e 100644 --- a/sys/arch/mvmeppc/mvmeppc/machdep.c +++ b/sys/arch/mvmeppc/mvmeppc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.66 2011/04/18 21:44:55 guenther Exp $ */ +/* $OpenBSD: machdep.c,v 1.67 2011/06/05 19:41:07 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -102,20 +102,6 @@ static struct consdev bootcons = { CN_LOWPRI, }; -/* - * Declare these as initialized data so we can patch them. - */ -#ifndef BUFCACHEPERCENT -#define BUFCACHEPERCENT 5 -#endif - -#ifdef BUFPAGES -int bufpages = BUFPAGES; -#else -int bufpages = 0; -#endif -int bufcachepercent = BUFCACHEPERCENT; - struct bat battable[16]; struct vm_map *exec_map = NULL; |