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/sh | |
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/sh')
-rw-r--r-- | sys/arch/sh/sh/sh_machdep.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/arch/sh/sh/sh_machdep.c b/sys/arch/sh/sh/sh_machdep.c index 9f8137d62c4..f1e52fa8821 100644 --- a/sys/arch/sh/sh/sh_machdep.c +++ b/sys/arch/sh/sh/sh_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sh_machdep.c,v 1.29 2011/04/18 21:44:55 guenther Exp $ */ +/* $OpenBSD: sh_machdep.c,v 1.30 2011/06/05 19:41:10 deraadt Exp $ */ /* $NetBSD: sh3_machdep.c,v 1.59 2006/03/04 01:13:36 uwe Exp $ */ /* @@ -113,17 +113,6 @@ #include <sh/intr.h> #include <sh/kcore.h> -#ifndef BUFCACHEPERCENT -#define BUFCACHEPERCENT 5 -#endif - -#ifdef BUFPAGES -int bufpages = BUFPAGES; -#else -int bufpages = 0; -#endif -int bufcachepercent = BUFCACHEPERCENT; - /* Our exported CPU info; we can have only one. */ int cpu_arch; int cpu_product; |