Date: Sun, 14 Feb 1999 18:03:42 -0800 (PST) From: Matt Dillon <dillon@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/vm vm_object.c Message-ID: <199902150203.SAA15772@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 1999/02/14 18:03:42 PST
Modified files:
sys/vm vm_object.c
Log:
Fix a bug in the new madvise() code that would possibly (improperly)
free swap space out from under a busy page. This is not legal because
the swap may be reallocated and I/O issued while I/O is still in
progress on the same swap page from the madvise()'d object. This bug
could only occur under extreme paging conditions but might not cause
an error until much later. As a side-benefit, madvise() is now even
smaller.
Revision Changes Path
1.151 +12 -24 src/sys/vm/vm_object.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902150203.SAA15772>
