cvs commit: src/sys/vm vm_fault.c

Alan Cox alc at cs.rice.edu
Wed Oct 15 01:40:53 PDT 2003


On Wed, Oct 15, 2003 at 01:00:45AM -0700, Alan Cox wrote:
> alc         2003/10/15 01:00:45 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/vm               vm_fault.c 
>   Log:
>    - vm_fault_copy_entry() should not assume that the source object contains
>      every page.  If the source entry was read-only, one or more wired pages
>      could be in backing objects.
>    - vm_fault_copy_entry() should not set the PG_WRITEABLE flag on the page
>      unless the destination entry is, in fact, writeable.
>   
>   Revision  Changes    Path
>   1.181     +19 -5     src/sys/vm/vm_fault.c

This fixes the problem with mlockall() and cdrecord.

Alan


More information about the cvs-all mailing list