summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
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/sgi
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/sgi')
-rw-r--r--sys/arch/sgi/sgi/machdep.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/arch/sgi/sgi/machdep.c b/sys/arch/sgi/sgi/machdep.c
index cc03a82afb2..e3e817b53ba 100644
--- a/sys/arch/sgi/sgi/machdep.c
+++ b/sys/arch/sgi/sgi/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.109 2011/05/30 22:25:22 oga Exp $ */
+/* $OpenBSD: machdep.c,v 1.110 2011/06/05 19:41:08 deraadt Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -82,19 +82,6 @@ void dump_tlb(void);
char machine[] = MACHINE; /* Machine "architecture" */
char cpu_model[30];
-/*
- * Declare these as initialized data so we can patch them.
- */
-#ifndef BUFCACHEPERCENT
-#define BUFCACHEPERCENT 5 /* Can be changed in config. */
-#endif
-#ifndef BUFPAGES
-#define BUFPAGES 0 /* Can be changed in config. */
-#endif
-
-int bufpages = BUFPAGES;
-int bufcachepercent = BUFCACHEPERCENT;
-
/* low 32 bits range. */
struct uvm_constraint_range dma_constraint = { 0x0, 0x7fffffff };
struct uvm_constraint_range *uvm_md_constraints[] = {