Access to `u_flags' should be serialized by the `vmobjlock'.
authormpi <mpi@openbsd.org>
Thu, 20 Oct 2022 13:31:52 +0000 (13:31 +0000)
committermpi <mpi@openbsd.org>
Thu, 20 Oct 2022 13:31:52 +0000 (13:31 +0000)
commit4579474588f1b03a35eef3ef207d4c22f7fc1290
treed377b30e3c440d10d4df7573a556eaccc15ba50c
parentf49fa4f4e879471df342dc70a25512acd060162f
Access to `u_flags' should be serialized by the `vmobjlock'.

This complete previous fix from gnezdo@.  The uvm_vnp_sync() still
requires some love and isn't addressed by this diff.

Document which lock is protecting vnode variables.

ok gnezdo@
sys/uvm/uvm_vnode.c
sys/uvm/uvm_vnode.h