summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-06-05 19:41:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-06-05 19:41:11 +0000
commit3aa23a86a75820bd20ec62d23fde366e31637be4 (patch)
treebced57cc983bb7ccbeb834ad28934f221065f7c3 /sys/arch/amd64
parent1bdf3d7e0aba1d3ceccd927c2404a9df58ce9f28 (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/amd64')
-rw-r--r--sys/arch/amd64/amd64/machdep.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index 6285a1d91ae..24fa0f12b5e 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.142 2011/05/30 22:25:20 oga Exp $ */
+/* $OpenBSD: machdep.c,v 1.143 2011/06/05 19:41:06 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */
/*-
@@ -195,17 +195,6 @@ extern struct vm_map *lkm_map;
struct vm_map *exec_map = NULL;
struct vm_map *phys_map = NULL;
-#ifndef BUFCACHEPERCENT
-#define BUFCACHEPERCENT 10
-#endif
-
-#ifdef BUFPAGES
-int bufpages = BUFPAGES;
-#else
-int bufpages = 0;
-#endif
-int bufcachepercent = BUFCACHEPERCENT;
-
/* UVM constraint ranges. */
struct uvm_constraint_range isa_constraint = { 0x0, 0x00ffffffUL };
struct uvm_constraint_range dma_constraint = { 0x0, 0xffffffffUL };