HomeFreeBSD

vm_page_grab_valid(): clear *mp in case of pager denying page allocation

Description

vm_page_grab_valid(): clear *mp in case of pager denying page allocation

Same as it is done in other error return cases. Callers depend on error
case returning NULL, e.g. vm_imgact_hold_page().

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

Details

Provenance
kibAuthored on Dec 17 2022, 12:12 AM
Reviewer
markj
Differential Revision
D37719: vm_page_grab_valid(): clear *mp in case of pager denying page allocation
Parents
rGf176fe8e7f63: bin/uuidgen: add support for v4 uuids
Branches
Unknown
Tags
Unknown