summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
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/hp300
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/hp300')
-rw-r--r--sys/arch/hp300/hp300/machdep.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/hp300/hp300/machdep.c b/sys/arch/hp300/hp300/machdep.c
index c4b391071c6..8661452c4f8 100644
--- a/sys/arch/hp300/hp300/machdep.c
+++ b/sys/arch/hp300/hp300/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.122 2009/06/15 17:01:25 beck Exp $ */
+/* $OpenBSD: machdep.c,v 1.123 2009/08/02 16:28:39 beck Exp $ */
/* $NetBSD: machdep.c,v 1.121 1999/03/26 23:41:29 mycroft Exp $ */
/*
@@ -290,12 +290,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.