cvs commit: src/sys/vm vm_fault.c

Marius Strobl marius at alchemy.franken.de
Wed Oct 15 05:44:17 PDT 2003


On Wed, Oct 15, 2003 at 03:40:43AM -0500, Alan Cox wrote:
> 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.
> 

What was the general usability of mlockall() before this commit? I was
told about at least two other programs that triggered a panic when using
mlockall(). If this commit denotes the first working mlockall() would you
be so kind as to bump the __FreeBSD_version?



More information about the cvs-all mailing list