From owner-cvs-all@FreeBSD.ORG Sun Apr 27 20:45:36 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 8E0E637B401; Sun, 27 Apr 2003 20:45:36 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BC5543F75; Sun, 27 Apr 2003 20:45:36 -0700 (PDT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3S3jZ0U095800; Sun, 27 Apr 2003 20:45:35 -0700 (PDT) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3S3jZ3C095796; Sun, 27 Apr 2003 20:45:35 -0700 (PDT) Message-Id: <200304280345.h3S3jZ3C095796@repoman.freebsd.org> From: Alan Cox Date: Sun, 27 Apr 2003 20:45:35 -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_object.c vm_object.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: Mon, 28 Apr 2003 03:45:37 -0000 alc 2003/04/27 20:45:35 PDT FreeBSD src repository Modified files: sys/vm vm_object.c vm_object.h Log: - Define VM_OBJECT_LOCK_INIT(). - Avoid repeatedly mtx_init()ing and mtx_destroy()ing the vm_object's lock using UMA's uminit callback, in this case, vm_object_zinit(). Revision Changes Path 1.277 +4 -5 src/sys/vm/vm_object.c 1.95 +2 -0 src/sys/vm/vm_object.h