summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-03-02 09:07:40 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-03-02 09:07:40 +0000
commit25557b1b3f5966a97aba502846045a8ac1a348d6 (patch)
treef9866ddf5c7d43104ed307f2538a2ce0379f7f84 /sys
parent8e31fb0b061bca59f7bd44cfcb825b1a49ce21a5 (diff)
Reserve more pages for the pagedaemon and the kernel.
With soft updates, writing out pages to disk can cause a bunch of allocations.
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_page.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_page.c b/sys/uvm/uvm_page.c
index 5856c9c136e..6ffc4742ae3 100644
--- a/sys/uvm/uvm_page.c
+++ b/sys/uvm/uvm_page.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_page.c,v 1.10 2001/01/29 02:07:47 niklas Exp $ */
+/* $OpenBSD: uvm_page.c,v 1.11 2001/03/02 09:07:39 art Exp $ */
/* $NetBSD: uvm_page.c,v 1.23 1999/05/25 01:34:13 thorpej Exp $ */
/*
@@ -331,8 +331,8 @@ uvm_page_init(kvm_startp, kvm_endp)
* step 7: init reserve thresholds
* XXXCDC - values may need adjusting
*/
- uvmexp.reserve_pagedaemon = 1;
- uvmexp.reserve_kernel = 5;
+ uvmexp.reserve_pagedaemon = 4;
+ uvmexp.reserve_kernel = 6;
/*
* done!