[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <649c77ba-94a7-d0bf-69e7-fa0276f536d1@redhat.com>
Date: Wed, 8 Jan 2020 20:44:09 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Peter Xu <peterx@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
"Dr . David Alan Gilbert" <dgilbert@...hat.com>,
Christophe de Dinechin <dinechin@...hat.com>,
Sean Christopherson <sean.j.christopherson@...el.com>,
"Michael S . Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>
Subject: Re: [PATCH RESEND v2 03/17] KVM: X86: Don't track dirty for
KVM_SET_[TSS_ADDR|IDENTITY_MAP_ADDR]
On 08/01/20 20:15, Peter Xu wrote:
> But you seemed to have fixed that already? :)
Perhaps. :)
> 3898da947bba ("KVM: avoid using rcu_dereference_protected", 2017-08-02)
>
> And this path is after kvm_destroy_vm() so kvm->users_count should be 0.
> Or I feel like we need to have more places to take the lock..
Yeah, it should be okay assuming you test with lockdep.
Paolo
Powered by blists - more mailing lists