Re: [PATCH/RFC 1/2] anon-inodes: Remove fd_install() from anon_inode_getfd()

From: Christoph Hellwig
Date: Mon Mar 17 2008 - 06:42:04 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/