Date: Mon, 29 Sep 2008 22:13:29 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_vm.c Message-ID: <200809292213.m8TMDdjd014849@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kmacy 2008-09-29 22:13:29 UTC
FreeBSD src repository
Modified files:
sys/dev/cxgb/ulp/tom cxgb_vm.c
Log:
SVN rev 183478 on 2008-09-29 22:13:29Z by kmacy
vm_fault_hold_user_pages will not return if an address in the range passed in is mapped RO
but an RW mapping exists for the underlying page. This change fixes the bug by using the
page / NULL returned from pmap_extract_and_hold to determine whether or not vm_fault needs
to be called.
The bug was pointed out by alc.
MFC after: 3 days
Revision Changes Path
1.3 +8 -14 src/sys/dev/cxgb/ulp/tom/cxgb_vm.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809292213.m8TMDdjd014849>
