lkml.org 
[lkml]   [2020]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 05/22] kvm: mmu: Add functions to handle changed TDP SPTEs
From
Date
On 26/09/20 02:39, Paolo Bonzini wrote:
>> + handle_changed_spte(kvm, as_id,
>> + gfn + (i * KVM_PAGES_PER_HPAGE(level - 1)),
>> + old_child_spte, 0, level - 1);
>> + }
> Is it worth returning a "flush" value to the caller, to avoid multiple
> kvm_flush_remote_tlbs_with_address when e.g. zapping a 3rd-level PTE?

Nevermind, this is not possible since you are freeing the page
immediately after kvm_flush_remote_tlbs_with_address.

Paolo

\
 
 \ /
  Last update: 2020-09-28 19:24    [W:0.074 / U:1.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site