From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 1/1] kvm: fix circular locking dependency Date: Sun, 8 Feb 2009 03:28:05 -0200 Message-ID: <20090208052805.GA4437@amt.cnet> References: <1233678929.3726.48.camel@blaa> <1233858226-21181-1-git-send-email-markmc@redhat.com> <20090205185234.GC27684@sequoia.sous-sol.org> <1233910651.3673.43.camel@blaa> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Chris Wright , avi@redhat.com, kvm@vger.kernel.org To: Mark McLoughlin Return-path: Received: from mx2.redhat.com ([66.187.237.31]:52547 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751484AbZBHF2l (ORCPT ); Sun, 8 Feb 2009 00:28:41 -0500 Content-Disposition: inline In-Reply-To: <1233910651.3673.43.camel@blaa> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Feb 06, 2009 at 08:57:31AM +0000, Mark McLoughlin wrote: > On Thu, 2009-02-05 at 10:52 -0800, Chris Wright wrote: > > * Mark McLoughlin (markmc@redhat.com) wrote: > > > kvm->slots_lock is outer to kvm->lock, so take slots_lock > > > in kvm_vm_ioctl_assign_device() before taking kvm->lock, > > > rather than taking it in kvm_iommu_map_memslots(). > > > > stable? maint/2.6.29? > > Yep, my bad - Avi, please add: > > Cc: stable@kernel.org > > and pull into maint/2.6.29 ACK.