Re: [PATCH 0/2] KVM: x86/mmu: Use LOCK CMPXCHG to clear Accessed bits
From: Huang, Kai
Date: Wed Jul 29 2026 - 07:38:24 EST
On Mon, 2026-07-27 at 17:22 -0700, Sean Christopherson wrote:
> I initially was planning on tweaking the FROZEN_SPTE value to make it ok to
> use LOCK AND on Accessed bits, but AFAICT there's no meaningful downside to
> using CMPXCHG.
Maybe do both, e.g., still remove the A-bit from FROZEN_SPTE? AFAICT there's no
good reason to keep the A-bit in FROZEN_SPTE.