cvs commit: src/sys/vm vm_object.c

Alan Cox alc at cs.rice.edu
Wed Jul 28 11:28:34 PDT 2004


I would appreciate it if someone would volunteer to back port these
changes to -STABLE.

Regards,
Alan

On Wed, Jul 28, 2004 at 06:23:08PM +0000, Alan Cox wrote:
> alc         2004-07-28 18:23:08 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/vm               vm_object.c 
>   Log:
>   Correct a very old error in both vm_object_madvise() (originating in
>   vm/vm_object.c revision 1.88) and vm_object_sync() (originating in
>   vm/vm_map.c revision 1.36): When descending a chain of backing objects,
>   both use the wrong object's backing offset.  Consequently, both may
>   operate on the wrong pages.
>   
>   Quoting Matt, "This could be responsible for all of the sporatic madvise
>   oddness that has been reported over the years."
>   
>   Reviewed by:    Matt Dillon
>   
>   Revision  Changes    Path
>   1.329     +2 -2      src/sys/vm/vm_object.c


More information about the cvs-all mailing list