HomeFreeBSD

vm_fault: avoid vm_page_next()

Description

vm_fault: avoid vm_page_next()

Where vm_fault calls vm_page_next, replace it with a use of TAILQ_NEXT
and a KASSERT. This avoids needless computation in a NODEBUG kernel
and makes the error checking clearer in a GENERIC kernel.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D46168

Details

Provenance
dougmAuthored on Jul 27 2024, 9:11 PM
Reviewer
kib
Differential Revision
D46168: vm_fault: avoid vm_page_next()
Parents
rG21e98f6d195a: BSD.tests.dist: Add entry for mixer tests
Branches
Unknown
Tags
Unknown