cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_vm.c
kmacy at FreeBSD.org
Mon Sep 29 22:13:41 UTC 2008
kmacy 2008-09-29 22:13:29 UTC
FreeBSD src repository
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
More information about the cvs-all