diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2004-04-19 22:52:34 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2004-04-19 22:52:34 +0000 |
commit | 9bc570a1a157252d3dde353d2da5ccfd24665616 (patch) | |
tree | 88a9ac63023de5d94546a8e9129d1c3ecfe7a66b /sys/uvm/uvm_km.h | |
parent | dd55ffea5bfb74d9d44db416eb54a9c0b02fdd3a (diff) |
introduce a new km_page allocator that gets pages from kernel_map using
an interrupt safe thread.
use this as the new backend for mbpool and mclpool, eliminating the mb_map.
introduce a sysctl kern.maxclusters which controls the limit of clusters
allocated.
testing by many people, works everywhere but m68k. ok deraadt@
this essentially deprecates the NMBCLUSTERS option, don't use it.
this should reduce pressure on the kmem_map and the uvm reserve of static
map entries.
Diffstat (limited to 'sys/uvm/uvm_km.h')
-rw-r--r-- | sys/uvm/uvm_km.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/uvm/uvm_km.h b/sys/uvm/uvm_km.h index 7c1bc043879..1162b4dc29a 100644 --- a/sys/uvm/uvm_km.h +++ b/sys/uvm/uvm_km.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_km.h,v 1.7 2002/03/14 01:27:18 millert Exp $ */ +/* $OpenBSD: uvm_km.h,v 1.8 2004/04/19 22:52:33 tedu Exp $ */ /* $NetBSD: uvm_km.h,v 1.9 1999/06/21 17:25:11 thorpej Exp $ */ /* @@ -49,6 +49,7 @@ */ void uvm_km_init(vaddr_t, vaddr_t); +void uvm_km_page_init(void); void uvm_km_pgremove(struct uvm_object *, vaddr_t, vaddr_t); void uvm_km_pgremove_intrsafe(struct uvm_object *, vaddr_t, vaddr_t); |