]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Dirty the newly copied anonymous pages after the wired region is
authorKonstantin Belousov <kib@FreeBSD.org>
Wed, 24 Oct 2012 18:21:59 +0000 (18:21 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 24 Oct 2012 18:21:59 +0000 (18:21 +0000)
commitbc79b37f2c911b81f09f9faebd1ce07e23519806
tree554a9c7b520cb733b297b2e6b5488211cade19f1
parent9065aa649727344dc64f324359613fcf7af7967b
Dirty the newly copied anonymous pages after the wired region is
forked. Otherwise, pagedaemon might reclaim the page without saving
its content into the swap file, resulting in the valid content
replaced by zeroes.

Reported and tested by: pho
Reviewed and comment update by: alc
MFC after: 1 week
sys/vm/vm_fault.c