CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/10/15 22:56:21

Modified files:
        sys/uvm        : uvm_vnode.c 

Log message:
Revert rev. 1.134 of uvm_vnode.c because it introduces a reference race

uo_refs is not really serialized by the vmobjlock and at least in
uvm_vnp_sync() it depends on the KERNEL_LOCK for that.

The optimisation done in 1.134 predates the rwlock rework done by dlg@
and is probably no longer important. The vmobjlock is still contended
but the wakeup storm resulting in massive KERNEL_LOCK spin is gone.

Reported by Acts1631
OK kettenis@ deraadt@

Reply via email to