cvs commit: src/sys/vm vm_object.c

Alan Cox alc at FreeBSD.org
Wed Jul 28 11:23:08 PDT 2004


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-src mailing list