Date: Sat, 6 Dec 2003 11:52:43 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.org> To: Alan Cox <alc@cs.rice.edu> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm_mmap.c Message-ID: <Pine.NEB.3.96L.1031206115112.5062E-100000@fledge.watson.org> In-Reply-To: <20031206071002.GE13902@cs.rice.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1031206115112.5062E-100000>