Re: [PATCH 1/8] KVM: x86/mmu: Drop unused CMPXCHG macro from paging_tmpl.h

From: Paolo Bonzini
Date: Tue Jun 14 2022 - 13:11:23 EST


On 6/14/22 04:13, Lai Jiangshan wrote:
On Tue, Jun 14, 2022 at 6:59 AM Sean Christopherson <seanjc@xxxxxxxxxx> wrote:

Drop the CMPXCHG macro from paging_tmpl.h, it's no longer used now that
KVM uses a common uaccess helper to do 8-byte CMPXCHG.

Fixes: f122dfe44768 ("KVM: x86: Use __try_cmpxchg_user() to update guest PTE A/D bits")
Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>


In https://lore.kernel.org/lkml/20220605063417.308311-2-jiangshanlai@xxxxxxxxx/
two other unused macros are also removed.


Queued that one, thanks!

Paolo