Move the top part of uvm_fault_lower(), the lookup, in its own function.
authormpi <mpi@openbsd.org>
Mon, 1 Mar 2021 09:09:35 +0000 (09:09 +0000)
committermpi <mpi@openbsd.org>
Mon, 1 Mar 2021 09:09:35 +0000 (09:09 +0000)
commita3afc610df58acc547b20a6c9b9c73c4c54f11bc
tree3568fa43e0237913ee079340f11391460bdf152a
parent895a1e8b54e1642bff18ac4d7bc94f95c056b1d4
Move the top part of uvm_fault_lower(), the lookup, in its own function.

The name and logic come from NetBSD in order to reduce the difference
between the two code bases.

No functional change intended.

ok tb@
sys/uvm/uvm_fault.c