summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-03-02 09:07:39 +0000
committerart <art@openbsd.org>2001-03-02 09:07:39 +0000
commit9a88a93320566fe97a3cb56105ed08323ba3b085 (patch)
tree1e7fc796ec3e13feca642bebcf927659b21f66b5
parentprint the interrupt, and pack to one line (diff)
downloadwireguard-openbsd-9a88a93320566fe97a3cb56105ed08323ba3b085.tar.xz
wireguard-openbsd-9a88a93320566fe97a3cb56105ed08323ba3b085.zip
Reserve more pages for the pagedaemon and the kernel.
With soft updates, writing out pages to disk can cause a bunch of allocations.
-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!