HomeFreeBSD

vm_fault: add a verifier that the PG_ZERO page is indeed zeroed

Description

vm_fault: add a verifier that the PG_ZERO page is indeed zeroed

Compiled under INVARIANTS, activated by the same sysctl
debug.vm_check_pg_zero.

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

Details

Provenance
kibAuthored on Fri, Nov 21, 8:34 AM
Reviewer
markj
Differential Revision
D53850: More checks for PG_ZERO pages
Parents
rGb9fc7628dbb2: vm_page_free_prep(): convert PG_ZERO zeroed page check to use sf_buf
Branches
Unknown
Tags
Unknown