diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-12-28 13:16:29 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-12-28 13:16:29 +0000 |
commit | b79c732c9e84b83639c93c38e5b0af802ffb67c6 (patch) | |
tree | 5e3d799b6a0bb52727cbbd1ef89f693ad512501c /sys | |
parent | dce6aedad93f51a922e513ce53b43a4d6ab03f64 (diff) |
Unlock bottom part of the fault handler.
Tested by many during the past months, thanks!
ok sthen@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/uvm/uvm_fault.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/uvm/uvm_fault.c b/sys/uvm/uvm_fault.c index dd709eb7aad..d54a2b85d75 100644 --- a/sys/uvm/uvm_fault.c +++ b/sys/uvm/uvm_fault.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_fault.c,v 1.123 2021/12/17 14:18:15 mpi Exp $ */ +/* $OpenBSD: uvm_fault.c,v 1.124 2021/12/28 13:16:28 mpi Exp $ */ /* $NetBSD: uvm_fault.c,v 1.51 2000/08/06 00:22:53 thorpej Exp $ */ /* @@ -636,10 +636,8 @@ uvm_fault(vm_map_t orig_map, vaddr_t vaddr, vm_fault_t fault_type, error = EACCES; } else { /* case 2: fault on backing obj or zero fill */ - KERNEL_LOCK(); error = uvm_fault_lower(&ufi, &flt, pages, fault_type); - KERNEL_UNLOCK(); } } } |