From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH/RFC 1/2] anon-inodes: Remove fd_install() from anon_inode_getfd() Date: Mon, 17 Mar 2008 11:40:25 +0100 Message-ID: <20080317104025.GA9663@lst.de> References: <20080225191043.GA32342@lst.de> <20080306151402.GA17077@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, Linux Kernel Mailing List , Avi Kivity , Davide Libenzi , Al Viro , linux-fsdevel@vger.kernel.org, Andrew Morton , Christoph Hellwig To: Roland Dreier Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: linux-fsdevel.vger.kernel.org On Sat, Mar 08, 2008 at 06:45:34PM -0800, Roland Dreier wrote: > > spin_lock(&kvm_lock); > > + if (--kvm->refcount) { > > + spin_lock(&kvm_lock); > > obvious typo here... Indeed. Any comments from the kvm developers in this approach? The current multi-level file refcounting seems rather bogus so I'd like to make some progress on this. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/