[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a1a9346c-e403-618a-91e8-02ce4b7105c8@redhat.com>
Date: Thu, 7 Jan 2021 18:53:56 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Sean Christopherson <seanjc@...gle.com>,
Ben Gardon <bgardon@...gle.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
Peter Shier <pshier@...gle.com>,
"Maciej S . Szmigiero" <maciej.szmigiero@...cle.com>,
Leo Hou <leohou1402@...il.com>
Subject: Re: [PATCH v3 1/2] KVM: x86/mmu: Ensure TDP MMU roots are freed after
yield
On 07/01/21 18:40, Sean Christopherson wrote:
> /*
> * The yield_safe() variant of the TDP root iterator gets and puts references to
> * the roots it iterates over. This makes it safe to release the MMU lock and
> * yield within the loop, but the caller MUST NOT exit the loop early.
> */
>
Nicer, thanks!
Paolo
Powered by blists - more mailing lists