Unref/free amaps before grabbing the KERNEL_LOCK().
authormpi <mpi@openbsd.org>
Tue, 15 Jun 2021 16:35:21 +0000 (16:35 +0000)
committermpi <mpi@openbsd.org>
Tue, 15 Jun 2021 16:35:21 +0000 (16:35 +0000)
commit57e20f0c55cbf6f42730d7462439351b0eb569c2
tree4531da44d59b371f4115a7efadea98b0ec3ef2c7
parent86bbdb74732bcf7aa3991521624830b6af4ab680
Unref/free amaps before grabbing the KERNEL_LOCK().

This is possible now that amaps & anons are protected by a per-map rwlock.

ok kettenis@, jmatthew@
sys/uvm/uvm_map.c