cvs commit: src/sys/vm device_pager.c
Alan Cox
alc at FreeBSD.org
Sun Oct 5 15:23:45 PDT 2003
alc 2003/10/05 15:23:44 PDT
FreeBSD src repository
Modified files:
sys/vm device_pager.c
Log:
The addition of a locking assertion to vm_page_zero_invalid() has revealed
a long-time bug: vm_pager_get_pages() assumes that m[reqpage] contains a
valid page upon return from pgo_getpages(). In the case of the device
pager this page has been freed and replaced by a fake page. The fake page
is properly inserted into the vm object but m[reqpage] is left pointing
to a freed page. For now, update m[reqpage] to point to the fake page.
Submitted by: tegge
Revision Changes Path
1.69 +1 -0 src/sys/vm/device_pager.c
More information about the cvs-src
mailing list