summaryrefslogtreecommitdiff
path: root/sys/arch/aviion
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2009-08-02 16:28:41 +0000
committerBob Beck <beck@cvs.openbsd.org>2009-08-02 16:28:41 +0000
commitdd3b8eacde77cc7df789cf96b6e56355467f18c5 (patch)
tree9c55348b269a51c1c38df3aa7b10ceaaae481bc7 /sys/arch/aviion
parentd39d8390343be0240365f612fe409018c18f13d5 (diff)
Dynamic buffer cache support - a re-commit of what was backed out
after c2k9 allows buffer cache to be extended and grow/shrink dynamically tested by many, ok oga@, "why not just commit it" deraadt@
Diffstat (limited to 'sys/arch/aviion')
-rw-r--r--sys/arch/aviion/aviion/machdep.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/aviion/aviion/machdep.c b/sys/arch/aviion/aviion/machdep.c
index ebff8ba9465..688d3e06389 100644
--- a/sys/arch/aviion/aviion/machdep.c
+++ b/sys/arch/aviion/aviion/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.29 2009/06/15 17:01:25 beck Exp $ */
+/* $OpenBSD: machdep.c,v 1.30 2009/08/02 16:28:39 beck Exp $ */
/*
* Copyright (c) 2007 Miodrag Vallat.
*
@@ -293,12 +293,6 @@ cpu_startup()
if (bufpages == 0)
bufpages = physmem * bufcachepercent / 100;
- /* Restrict to at most 25% filled kvm */
- if (bufpages >
- (VM_MAX_KERNEL_ADDRESS-VM_MIN_KERNEL_ADDRESS) / PAGE_SIZE / 4)
- bufpages = (VM_MAX_KERNEL_ADDRESS-VM_MIN_KERNEL_ADDRESS) /
- PAGE_SIZE / 4;
-
/*
* Allocate a submap for exec arguments. This map effectively
* limits the number of processes exec'ing at any time.