From owner-cvs-all@FreeBSD.ORG Sat Dec 6 08:55:44 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 A075616A4CE; Sat, 6 Dec 2003 08:55:44 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44E3543F85; Sat, 6 Dec 2003 08:55:41 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hB6GqhMg017487; Sat, 6 Dec 2003 11:52:43 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hB6GqhEv017484; Sat, 6 Dec 2003 11:52:43 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sat, 6 Dec 2003 11:52:43 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Alan Cox In-Reply-To: <20031206071002.GE13902@cs.rice.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Alan Cox cc: cvs-src@FreeBSD.org cc: Mike Silbersack cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm_mmap.c 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, 06 Dec 2003 16:55:44 -0000 On Sat, 6 Dec 2003, Alan Cox wrote: > That's one way of looking at it. :-) The other is that we really need > witness to support lockmgr()-based locks. Unfortunately, if we add that, all hell will break loose :-). Not only does VFS not always obey its own lock order (quotas, etc), but the lock order changes as nodes are moved around the namespace using rename, etc. Any lockmgr witness support would have to completely ignore vnode locks. So far, the approach has been to move to "SMPng locks" for the final locking scheme for objects, at which point they pick up witness support... Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research