Remove workaround for lock ordering issue in uvm_pseg_get().
authormpi <mpi@openbsd.org>
Wed, 24 Jul 2024 12:18:10 +0000 (12:18 +0000)
committermpi <mpi@openbsd.org>
Wed, 24 Jul 2024 12:18:10 +0000 (12:18 +0000)
commit8f968f819b7fe6f5e54875bbd9cab7b2bf2bc970
treee852d3f5ae1450b7b6203583f464d100106d592e
parent8e4f8f34763c843edac6eec11f15d5b971f7109b
Remove workaround for lock ordering issue in uvm_pseg_get().

Now that uvm_unmap_detach() no longer grab the KERNEL_LOCK() it should be
safe to call it with the `uvm_pseg_lck' mutex held via uvm_km_valloc_try().

ok jca@, claudio@
sys/uvm/uvm_pager.c