diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2009-08-02 16:28:41 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2009-08-02 16:28:41 +0000 |
commit | dd3b8eacde77cc7df789cf96b6e56355467f18c5 (patch) | |
tree | 9c55348b269a51c1c38df3aa7b10ceaaae481bc7 /sys/arch/hppa | |
parent | d39d8390343be0240365f612fe409018c18f13d5 (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/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c index d7053f805f0..68858a6f1bd 100644 --- a/sys/arch/hppa/hppa/machdep.c +++ b/sys/arch/hppa/hppa/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.174 2009/07/29 18:31:11 kettenis Exp $ */ +/* $OpenBSD: machdep.c,v 1.175 2009/08/02 16:28:39 beck Exp $ */ /* * Copyright (c) 1999-2003 Michael Shalayeff @@ -656,12 +656,6 @@ cpu_startup(void) 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. |