From owner-cvs-all Sun Feb 14 18:03:44 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA12883 for cvs-all-outgoing; Sun, 14 Feb 1999 18:03:44 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA12878; Sun, 14 Feb 1999 18:03:44 -0800 (PST) (envelope-from dillon@FreeBSD.org) From: Matt Dillon Received: (from dillon@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id SAA15772; Sun, 14 Feb 1999 18:03:42 -0800 (PST) (envelope-from dillon@FreeBSD.org) Date: Sun, 14 Feb 1999 18:03:42 -0800 (PST) Message-Id: <199902150203.SAA15772@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/vm vm_object.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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