[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <35d133ab-5f21-7693-51ae-1a6ae81e76f4@redhat.com>
Date: Mon, 26 Jul 2021 15:42:24 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Peter Xu <peterx@...hat.com>, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org
Cc: Vitaly Kuznetsov <vkuznets@...hat.com>,
Sean Christopherson <seanjc@...gle.com>,
Maxim Levitsky <mlevitsk@...hat.com>
Subject: Re: [PATCH v2 2/9] KVM: Introduce kvm_get_kvm_safe()
On 25/06/21 17:32, Peter Xu wrote:
> - /* The debugfs files are a reference to the kvm struct which
> - * is still valid when kvm_destroy_vm is called.
> - * To avoid the race between open and the removal of the debugfs
> - * directory we test against the users count.
> - */
> - if (!refcount_inc_not_zero(&stat_data->kvm
Better keep the comment here (but nothing to do on your part).
Paolo
Powered by blists - more mailing lists