HomeFreeBSD

vm_object_set_memattr(): handle all object types without listing them explicitly

Description

vm_object_set_memattr(): handle all object types without listing them explicitly

This avoids the need to know all existing object types in advance, by the
cost of loosing the assert that unknown object type is handled in a sane
manner.

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 7 2021, 6:19 PM
Reviewer
markj
Differential Revision
D30168: Add KPI to dynamically register pager type
Parents
R10:8b99833ac253: procfs_map: switch to use vm_object_kvme_type
Branches
Unknown
Tags
Unknown