HomeFreeBSD

vm: avoid lock upgrade if possible in vm_fault_next

Description

vm: avoid lock upgrade if possible in vm_fault_next

In my tests during buildkernel fs->m was always NULL at that stage.

Note the change has no impact on vm obj contention during said workload.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D39027

Details

Provenance
mjgAuthored on Mar 11 2023, 8:57 PM
Reviewer
kib
Differential Revision
D39027: vm: avoid lock upgrade if possible in vm_fault_next
Parents
rG1a791448272a: rc.conf.5: a stray whitespace removed
Branches
Unknown
Tags
Unknown