[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <33db440c-40f1-4203-850c-c43e05758335@redhat.com>
Date: Thu, 17 Oct 2024 18:53:37 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Sean Christopherson <seanjc@...gle.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Yan Zhao <yan.y.zhao@...el.com>, Sagi Shahar <sagis@...gle.com>,
Alex Bennée <alex.bennee@...aro.org>,
David Matlack <dmatlack@...gle.com>, James Houghton <jthoughton@...gle.com>
Subject: Re: [PATCH 15/18] KVM: x86/mmu: Dedup logic for detecting TLB flushes
on leaf SPTE changes
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
Powered by blists - more mailing lists