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

Ken Smith kensmith at FreeBSD.org
Sat Jan 1 19:54:02 GMT 2005


kensmith    2005-01-01 19:54:00 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4_11)
    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
  Approved by:    re (scottl)
  
  Revision        Changes    Path
  1.187.2.31.2.1  +1 -1      src/sys/vm/vm_map.c
  1.171.2.9.6.1   +2 -2      src/sys/vm/vm_object.c


More information about the cvs-src mailing list