Revert the fix for the deadlock between uvn_io() and uvn_flush().
authormpi <mpi@openbsd.org>
Tue, 2 Mar 2021 10:09:20 +0000 (10:09 +0000)
committermpi <mpi@openbsd.org>
Tue, 2 Mar 2021 10:09:20 +0000 (10:09 +0000)
commit4deeff89dc578f0b4221cd4a79a8e3693afe5c5b
treecb829e32fce01d7b32bf9474d5f68b3e34e52c5c
parent05ebbbf6caddeae625957b393fdd7a13e174146c
Revert the fix for the deadlock between uvn_io() and uvn_flush().

This fix (ab)use the vnode lock to serialize access to some fields of
the corresponding pages associated with UVM vnode object and this will
create new deadlocks with the introduction of a per-uobj lock.

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