HomeFreeBSD

vm_domainset: Print correct function in KASSERT()/panic()

Description

vm_domainset: Print correct function in KASSERT()/panic()

Some messages in vm_domainset_iter_next() would wrongly refer to
vm_domainset_iter_first(). While here, ensure that all assertion/panic
messages use 'func' to avoid this discrepancy in the future if code
is moved/copy-pasted again.

Reviewed by: markj, alc, kib
MFC after: 10 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51248

Details

Provenance
olceAuthored on Jul 7 2025, 2:14 PM
Reviewer
markj
Differential Revision
D51248: vm_domainset: Print correct function in KASSERT()/panic()
Parents
rG9d1f3ce79d85: pmap: Degrade pmap_page_set_attr*() into a no-op on same attribute
Branches
Unknown
Tags
Unknown