From owner-cvs-all Sat Jul 6 15:14:44 2002 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 ECD6937B400; Sat, 6 Jul 2002 15:14:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1F1743E3B; Sat, 6 Jul 2002 15:14:38 -0700 (PDT) (envelope-from jeff@FreeBSD.org) Received: from freefall.freebsd.org (jeff@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g66MEcJU070401; Sat, 6 Jul 2002 15:14:38 -0700 (PDT) (envelope-from jeff@freefall.freebsd.org) Received: (from jeff@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g66MEcsY070400; Sat, 6 Jul 2002 15:14:38 -0700 (PDT) Message-Id: <200207062214.g66MEcsY070400@freefall.freebsd.org> From: Jeff Roberson Date: Sat, 6 Jul 2002 15:14:38 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_mmap.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jeff 2002/07/06 15:14:38 PDT Modified files: sys/vm vm_mmap.c Log: - Hold a lock on the vnode acquired from the file table across the call to vm_mmap() as well as the GETATTR etc. - If the handle is a vnode in vm_mmap() assert that it is locked. - Wiggle Giant around a little to account for the extra vnode operation. Revision Changes Path 1.150 +14 -3 src/sys/vm/vm_mmap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message