Date: Sat, 1 Jan 2005 19:54:00 +0000 (UTC) From: Ken Smith <kensmith@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_map.c vm_object.c Message-ID: <200501011954.j01Js1iY044548@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501011954.j01Js1iY044548>
