Re: [PATCH 15/18] KVM: x86/mmu: Dedup logic for detecting TLB flushes on leaf SPTE changes
From: Paolo Bonzini
Date: Thu Oct 17 2024 - 12:58:44 EST
On 10/11/24 04:10, Sean Christopherson wrote:
+static inline bool is_tlb_flush_required_for_leaf_spte(u64 old_spte,
+ u64 new_spte)
+{
+ return is_mmu_writable_spte(old_spte) && !is_mmu_writable_spte(new_spte);
+}
Shorter name? leaf_spte_change_needs_tlb_flush?
Paolo