Date: Wed, 28 Jul 2004 18:23:08 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_object.c Message-ID: <200407281823.i6SIN8pQ006108@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407281823.i6SIN8pQ006108>
