Date: Sun, 5 Oct 2003 15:23:44 -0700 (PDT) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm device_pager.c Message-ID: <200310052223.h95MNicZ051277@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310052223.h95MNicZ051277>