diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-04-11 12:10:43 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-04-11 12:10:43 +0000 |
commit | 45b5f5562300b1b582a88e47df07ff5c316e8f68 (patch) | |
tree | 2e986c1b5df798d88908e4d0e3fa145b6577c355 /sys/uvm/uvm_map.h | |
parent | 249cd96ad0ce1ab417c7c97f8dde0be8604cce01 (diff) |
Instead of managing pages for intrsafe maps in special objects (aka.
kmem_object) just so that we can remove them, just use pmap_extract
to get the pages to free and simplify a lot of code to not deal with
the list of intrsafe maps, intrsafe objects, etc.
miod@ ok
Diffstat (limited to 'sys/uvm/uvm_map.h')
-rw-r--r-- | sys/uvm/uvm_map.h | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/sys/uvm/uvm_map.h b/sys/uvm/uvm_map.h index 7de3f38393b..5ed91a71a72 100644 --- a/sys/uvm/uvm_map.h +++ b/sys/uvm/uvm_map.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.h,v 1.37 2007/04/04 18:02:59 art Exp $ */ +/* $OpenBSD: uvm_map.h,v 1.38 2007/04/11 12:10:42 art Exp $ */ /* $NetBSD: uvm_map.h,v 1.24 2001/02/18 21:19:08 chs Exp $ */ /* @@ -258,34 +258,6 @@ struct vm_map_intrsafe { LIST_ENTRY(vm_map_intrsafe) vmi_list; }; -LIST_HEAD(vmi_list, vm_map_intrsafe); -#ifdef _KERNEL -extern simple_lock_data_t vmi_list_slock; -extern struct vmi_list vmi_list; - -static __inline int vmi_list_lock(void); -static __inline void vmi_list_unlock(int); - -static __inline int -vmi_list_lock() -{ - int s; - - s = splhigh(); - simple_lock(&vmi_list_slock); - return (s); -} - -static __inline void -vmi_list_unlock(s) - int s; -{ - - simple_unlock(&vmi_list_slock); - splx(s); -} -#endif /* _KERNEL */ - /* * handle inline options */ |