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/i386 | |
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/i386')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 4951ce16a9f..be2d0b94c7f 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.499 2011/06/05 15:00:37 deraadt Exp $ */ +/* $OpenBSD: machdep.c,v 1.500 2011/06/05 19:41:07 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -185,17 +185,6 @@ int cpu_apmhalt = 0; /* sysctl'd to 1 for halt -p hack */ int user_ldt_enable = 0; /* sysctl'd to 1 to enable */ #endif -#ifndef BUFCACHEPERCENT -#define BUFCACHEPERCENT 10 -#endif - -#ifdef BUFPAGES -int bufpages = BUFPAGES; -#else -int bufpages = 0; -#endif -int bufcachepercent = BUFCACHEPERCENT; - struct uvm_constraint_range isa_constraint = { 0x0, 0x00ffffffUL }; struct uvm_constraint_range dma_constraint = { 0x0, 0xffffffffUL }; struct uvm_constraint_range *uvm_md_constraints[] = { |