Re: [PATCH v7 04/18] KVM: x86/mmu: Relax locking for kvm_test_age_gfn and kvm_age_gfn

From: James Houghton
Date: Thu Oct 03 2024 - 16:06:14 EST


On Wed, Sep 25, 2024 at 6:35 PM James Houghton <jthoughton@xxxxxxxxxx> wrote:
> @@ -70,8 +70,6 @@ static inline u64 kvm_tdp_mmu_write_spte(tdp_ptep_t sptep, u64 old_spte,
> static inline u64 tdp_mmu_clear_spte_bits(tdp_ptep_t sptep, u64 old_spte,
> u64 mask, int level)
> {
> - atomic64_t *sptep_atomic;
> -
> if (kvm_tdp_mmu_spte_need_atomic_write(old_spte, level))
> return tdp_mmu_clear_spte_bits_atomic(sptep, mask);
>

This delete should have gone in the previous patch. Will be fixed in v8.