cvs commit: src/sys/vm device_pager.c
Ed Maste
emaste at FreeBSD.org
Thu Jan 12 11:57:03 PST 2006
emaste 2006-01-12 19:56:58 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_4)
sys/vm device_pager.c
Log:
Merge device_pager.c:1.69 from HEAD to RELENG_4:
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
Approved by: alc, rwatson (mentor)
Revision Changes Path
1.46.2.3 +1 -0 src/sys/vm/device_pager.c
More information about the cvs-all
mailing list