HomeFreeBSD

vm_page: add vm_page_clearref() helper

Description

vm_page: add vm_page_clearref() helper

It is supposed to be used for ref_count manipulations when the pages
are owned by an object, but ref_count is used for something else than
the wiring, e.g. PTE population count on the page table page.

Reviewed by: markj
Sponsored by: Advanced Micro Devices (AMD)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D45910

Details

Provenance
kibAuthored on Jul 8 2024, 5:45 PM
Reviewer
markj
Differential Revision
D45910: DMAR pagetable free: handle ref_count special references
Parents
rGec1b18c7353a: route: Wrap long lines
Branches
Unknown
Tags
Unknown