Move uvm_exit() outside of the KERNEL_LOCK() in the reaper.
authormpi <mpi@openbsd.org>
Wed, 24 Jul 2024 12:17:31 +0000 (12:17 +0000)
committermpi <mpi@openbsd.org>
Wed, 24 Jul 2024 12:17:31 +0000 (12:17 +0000)
commit8e4f8f34763c843edac6eec11f15d5b971f7109b
treeb22188bb1fb4418678b0211e3d9797b8bde630df
parenta5c1aec311e36da13843eff363484803840674f8
Move uvm_exit() outside of the KERNEL_LOCK() in the reaper.

Use atomic operations to reference count VM spaces.

Tested by claudio@, bluhm@, sthen@, jca@

ok jca@, claudio@
sys/kern/kern_exit.c
sys/uvm/uvm_extern.h
sys/uvm/uvm_map.c