HomeFreeBSD

Eliminate some vm object relocks in vm fault.

Description

Eliminate some vm object relocks in vm fault.

For the vm_fault_prefault() call from vm_fault_soft_fast(), extend the
scope of the object rlock to avoid re-taking it inside
vm_fault_prefault(). It causes pmap_enter_quick() sometimes called
with shadow object lock as well as the page lock, but this looks
innocent.

Noted and measured by: mjg
Reviewed by: alc, markj (as part of the larger patch)
Tested by: pho (as part of the larger patch)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D15122

Details

Provenance
kibAuthored on
Reviewer
alc
Differential Revision
D15122: Eliminate vm object relocks in vm fault.
Parents
rS333090: Update the nfsd.8 man page for mirrored DSs.
Branches
Unknown
Tags
Unknown