HomeFreeBSD

procfs_map: switch to use vm_object_kvme_type

Description

procfs_map: switch to use vm_object_kvme_type

to get object type, and stop enumerating OBJT_XXX constants. This also
provides properly a pointer for the vnode, if object backs any.

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

Details

Provenance
kibAuthored on May 10 2021, 3:20 PM
Reviewer
markj
Differential Revision
D30168: Add KPI to dynamically register pager type
Parents
rG00a3fe968b84: vm_object_kvme_type(): reimplement by embedding kvme_type into pagerops
Branches
Unknown
Tags
Unknown