From owner-cvs-src@FreeBSD.ORG Sat Nov 8 21:25:36 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55B6716A4CE; Sat, 8 Nov 2003 21:25:36 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D95B743FBD; Sat, 8 Nov 2003 21:25:35 -0800 (PST) (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 hA95PZXJ052179; Sat, 8 Nov 2003 21:25:35 -0800 (PST) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA95PZck052178; Sat, 8 Nov 2003 21:25:35 -0800 (PST) (envelope-from alc) Message-Id: <200311090525.hA95PZck052178@repoman.freebsd.org> From: Alan Cox Date: Sat, 8 Nov 2003 21:25:35 -0800 (PST) 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_map.c vm_map.h vm_mmap.c vm_object.c vm_object.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2003 05:25:36 -0000 alc 2003/11/08 21:25:35 PST FreeBSD src repository Modified files: sys/vm vm_map.c vm_map.h vm_mmap.c vm_object.c vm_object.h Log: - Rename vm_map_clean() to vm_map_sync(). This better reflects the fact that msync(2) is its only caller. - Migrate the parts of the old vm_map_clean() that examined the internals of a vm object to a new function vm_object_sync() that is implemented in vm_object.c. At the same, introduce the necessary vm object locking so that vm_map_sync() and vm_object_sync() can be called without Giant. Reviewed by: tegge Revision Changes Path 1.319 +5 -59 src/sys/vm/vm_map.c 1.106 +1 -1 src/sys/vm/vm_map.h 1.169 +1 -1 src/sys/vm/vm_mmap.c 1.317 +69 -0 src/sys/vm/vm_object.c 1.103 +2 -0 src/sys/vm/vm_object.h