diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-06-17 10:48:26 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-06-17 10:48:26 +0000 |
commit | 5108899466c6bc69f0728449c0c189de9177b4b8 (patch) | |
tree | 81818642cf9480714b433e7a3b3e600a28fc4557 /sys/uvm/uvm_map.c | |
parent | 771b1ec768f93665464b623faa90530a595e6851 (diff) |
pool_setipl on all uvm pools.
ok kettenis@ visa@
Diffstat (limited to 'sys/uvm/uvm_map.c')
-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 b8a1c9195c5..50504646028 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.216 2016/06/13 17:14:09 kettenis Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.217 2016/06/17 10:48:25 dlg Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -2790,11 +2790,13 @@ uvm_map_init(void) /* initialize the map-related pools. */ pool_init(&uvm_vmspace_pool, sizeof(struct vmspace), 0, 0, PR_WAITOK, "vmsppl", NULL); + pool_setipl(&uvm_vmspace_pool, IPL_NONE); pool_init(&uvm_map_entry_pool, sizeof(struct vm_map_entry), 0, 0, PR_WAITOK, "vmmpepl", NULL); pool_setipl(&uvm_map_entry_pool, IPL_VM); pool_init(&uvm_map_entry_kmem_pool, sizeof(struct vm_map_entry), 0, 0, 0, "vmmpekpl", NULL); + pool_setipl(&uvm_map_entry_kmem_pool, IPL_NONE); pool_sethiwat(&uvm_map_entry_pool, 8192); uvm_addr_init(); |