cvs commit: src/sys/vm vm_map.c vm_object.c

Ken Smith kensmith at FreeBSD.org
Fri Dec 31 03:12:19 PST 2004


kensmith    2004-12-31 11:12:18 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    sys/vm               vm_map.c vm_object.c 
  Log:
  MFC of rev 1.329 of vm_object.c:
    date: 2004/07/28 18:23:08;  author: alc;  state: Exp;  lines: +2 -2
    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
  
  Reviewed by:    alc
  Helped by:      DFly vm_map.c rev 1.31, vm_object.c rev 1.17
  
  Revision    Changes    Path
  1.187.2.32  +1 -1      src/sys/vm/vm_map.c
  1.171.2.10  +2 -2      src/sys/vm/vm_object.c


More information about the cvs-src mailing list