Use atomic operations for reference counting VM maps.
authormpi <mpi@openbsd.org>
Sat, 22 May 2021 08:38:29 +0000 (08:38 +0000)
committermpi <mpi@openbsd.org>
Sat, 22 May 2021 08:38:29 +0000 (08:38 +0000)
commit5944426158880baf8b40d31b26fd23add753dd93
treeab514feac3a221084a1d85646516655dc5ecc7e7
parent102a4fc8ad4e9a5041624e9610bbe0ccc5670715
Use atomic operations for reference counting VM maps.

This is necessary to do this accounting without the KERNEL_LOCK().

ok mvs@, kettenis@
sys/uvm/uvm_map.c
sys/uvm/uvm_map.h