diff options
Diffstat (limited to 'sys/uvm/uvm_km.h')
-rw-r--r-- | sys/uvm/uvm_km.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/uvm/uvm_km.h b/sys/uvm/uvm_km.h index b14f2e66280..76a2ce95720 100644 --- a/sys/uvm/uvm_km.h +++ b/sys/uvm/uvm_km.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_km.h,v 1.10 2010/06/28 04:20:29 miod Exp $ */ +/* $OpenBSD: uvm_km.h,v 1.11 2010/07/15 00:14:17 tedu Exp $ */ /* $NetBSD: uvm_km.h,v 1.9 1999/06/21 17:25:11 thorpej Exp $ */ /* @@ -58,6 +58,9 @@ void uvm_km_pgremove_intrsafe(vaddr_t, vaddr_t); #define UVM_KM_PAGES_LOWAT_MAX (2048) #define UVM_KM_PAGES_HIWAT_MAX (4 * UVM_KM_PAGES_LOWAT_MAX) +struct uvm_km_free_page { + struct uvm_km_free_page *next; +}; struct uvm_km_pages { struct mutex mtx; @@ -69,6 +72,9 @@ struct uvm_km_pages { int free; vaddr_t page[UVM_KM_PAGES_HIWAT_MAX]; + struct uvm_km_free_page *freelist; + int freelistlen; + struct proc *km_proc; }; |