HomeFreeBSD

vm_fault: move FAULT_* return codes out of range for Mach errors

Description

vm_fault: move FAULT_* return codes out of range for Mach errors

This way a possible clash between FAULT_* and KERN_* numbering is
avoided, and panics checks for fault_status confusion become more
efficient.

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

Details

Provenance
kibAuthored on Jun 27 2023, 11:41 AM
Reviewer
markj
Differential Revision
D40771: vm_fault: move FAULT_* return codes out of range for Mach errors
Parents
rG148ee8457000: Merge bmake-20230622
Branches
Unknown
Tags
Unknown