diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-12-09 02:35:22 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-12-09 02:35:22 +0000 |
commit | fbbfab31c60cfdae405a963cb998f4f53083041a (patch) | |
tree | 8265a7ce174fc241255882b1092ad54af21d66fd /sys | |
parent | ccbb93b16df494da1c0ebf8081ee30acb3a02e42 (diff) |
Two splasserts in map entry allocation.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/uvm/uvm_map.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index 9a5dd610ed0..a7cba41ff66 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.55 2002/10/29 18:30:21 art Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.56 2002/12/09 02:35:21 art Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -421,8 +421,10 @@ uvm_mapent_free(me) simple_unlock(&uvm.kentry_lock); splx(s); } else if (me->flags & UVM_MAP_KMEM) { + splassert(IPL_NONE); pool_put(&uvm_map_entry_kmem_pool, me); } else { + splassert(IPL_NONE); pool_put(&uvm_map_entry_pool, me); } } |