From owner-cvs-all Thu Jan 2 12:32:22 2003 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 35F5D37B401; Thu, 2 Jan 2003 12:32:21 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B82743EC2; Thu, 2 Jan 2003 12:32:20 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 67FB8AE27F; Thu, 2 Jan 2003 12:32:20 -0800 (PST) Date: Thu, 2 Jan 2003 12:32:20 -0800 From: Alfred Perlstein To: "Alan L. Cox" Cc: John Baldwin , Nate Lawson , cvs-committers@freebsd.org, cvs-all@freebsd.org, Alan Cox Subject: Re: cvs commit: src/sys/nfsclient nfs_vnops.c Message-ID: <20030102203220.GL26140@elvis.mu.org> References: <3E14985A.35AB67F4@imimic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E14985A.35AB67F4@imimic.com> User-Agent: Mutt/1.4i 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 * Alan L. Cox [030102 11:52] wrote: > > In general, yes. The vnode interlock is, however, a special case. Any > form of malloc() or free() while holding a vnode interlock will cause a > reversal. This stems from the intertwining of vm objects and vnodes. > > Regards, > Alan > > P.S. If someone knows a good place to document this, please do. I think a mention in the manpages for malloc(9) and vnode(9) would be appropriate. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message