diff options
author | 2020-11-27 12:45:00 +0000 | |
---|---|---|
committer | 2020-11-27 12:45:00 +0000 | |
commit | 63dd4e055d44f3e4cb64434bfc412a033fe66d75 (patch) | |
tree | 582be2d04405e97599d3b2cd5ea9e8728343ca8a | |
parent | Check if the interface has an IPv6 link-local address before using it. (diff) | |
download | wireguard-openbsd-63dd4e055d44f3e4cb64434bfc412a033fe66d75.tar.xz wireguard-openbsd-63dd4e055d44f3e4cb64434bfc412a033fe66d75.zip |
Set the correct IPL for `pageqlock' now that it is grabbed from interrupt.
Reported by AIsha Tammy.
ok kettenis@
-rw-r--r-- | sys/uvm/uvm_page.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_page.c b/sys/uvm/uvm_page.c index 2a7b4e1d65e..34e0295dd30 100644 --- a/sys/uvm/uvm_page.c +++ b/sys/uvm/uvm_page.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_page.c,v 1.151 2020/11/24 13:49:09 mpi Exp $ */ +/* $OpenBSD: uvm_page.c,v 1.152 2020/11/27 12:45:00 mpi Exp $ */ /* $NetBSD: uvm_page.c,v 1.44 2000/11/27 08:40:04 chs Exp $ */ /* @@ -180,7 +180,7 @@ uvm_page_init(vaddr_t *kvm_startp, vaddr_t *kvm_endp) TAILQ_INIT(&uvm.page_active); TAILQ_INIT(&uvm.page_inactive_swp); TAILQ_INIT(&uvm.page_inactive_obj); - mtx_init(&uvm.pageqlock, IPL_NONE); + mtx_init(&uvm.pageqlock, IPL_VM); mtx_init(&uvm.fpageqlock, IPL_VM); uvm_pmr_init(); |