If an anon is associated with a page, acquire its lock before any modification.
authormpi <mpi@openbsd.org>
Mon, 1 Mar 2021 09:13:33 +0000 (09:13 +0000)
committermpi <mpi@openbsd.org>
Mon, 1 Mar 2021 09:13:33 +0000 (09:13 +0000)
commit1c92e3af03b7e2f4288e77e83c65213588485773
tree5e04a09c0a8caab35e5ecdf62300203d247a8d7e
parenta3afc610df58acc547b20a6c9b9c73c4c54f11bc
If an anon is associated with a page, acquire its lock before any modification.

This change should have been part of the previous anon-locking diff and is
necessary to run the top part of uvm_fault() unlocked.

ok jmatthew@
sys/uvm/uvm_pdaemon.c