HomeFreeBSD

Add pgo_getvp method

Description

Add pgo_getvp method

This eliminates the staircase of conditions in vm_map_entry_set_vnode_text().

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D30070

Details

Provenance
kibAuthored on May 1 2021, 1:04 AM
Reviewer
markj
Differential Revision
D30070: vm: streamline uses of OBJT_SWAP and tmpfs swap objects
Parents
rGc23c555bc15c: Add pgo_mightbedirty method
Branches
Unknown
Tags
Unknown