]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Check that the page which is freed as zeroed, indeed has all-zero content.
authorKonstantin Belousov <kib@FreeBSD.org>
Sat, 21 Oct 2017 17:28:12 +0000 (17:28 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Sat, 21 Oct 2017 17:28:12 +0000 (17:28 +0000)
commit422fe502b3ca589d522a791ab29bb07c9e277b77
treed5daaa5932e6a4ab74233be07e311e0fd3e1c3af
parent09fdf1f84c43437d0e680562b5f5c6ab3ee7174c
Check that the page which is freed as zeroed, indeed has all-zero content.

This catches some rare mysterious failures at the source.  The check
is only performed on architectures which implement direct map, and
only enabled with option DIAGNOSTIC, similar to other costly
consistency checks.

Reviewed by: alc, markj
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
sys/vm/vm_page.c