From owner-cvs-all@FreeBSD.ORG Sat Oct 18 14:09:23 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DD0E16A4B3; Sat, 18 Oct 2003 14:09:23 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9518443F3F; Sat, 18 Oct 2003 14:09:22 -0700 (PDT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9IL9MXJ055568; Sat, 18 Oct 2003 14:09:22 -0700 (PDT) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9IL9M3U055567; Sat, 18 Oct 2003 14:09:22 -0700 (PDT) (envelope-from alc) Message-Id: <200310182109.h9IL9M3U055567@repoman.freebsd.org> From: Alan Cox Date: Sat, 18 Oct 2003 14:09:22 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/vm vm_contig.c vm_object.c vm_pageout.c vm_pageout.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2003 21:09:23 -0000 alc 2003/10/18 14:09:22 PDT FreeBSD src repository Modified files: sys/vm vm_contig.c vm_object.c vm_pageout.c vm_pageout.h Log: - Increase the object lock's scope in vm_contig_launder() so that access to the object's type field and the call to vm_pageout_flush() are synchronized. - The above change allows for the eliminaton of the last parameter to vm_pageout_flush(). - Synchronize access to the page's valid field in vm_pageout_flush() using the containing object's lock. Revision Changes Path 1.25 +11 -4 src/sys/vm/vm_contig.c 1.308 +1 -1 src/sys/vm/vm_object.c 1.246 +5 -11 src/sys/vm/vm_pageout.c 1.38 +1 -1 src/sys/vm/vm_pageout.h