]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: x86/mmu: Factor out spte atomic bit clearing routine
authorJames Houghton <jthoughton@google.com>
Tue, 4 Feb 2025 00:40:30 +0000 (00:40 +0000)
committerSean Christopherson <seanjc@google.com>
Fri, 14 Feb 2025 15:16:37 +0000 (07:16 -0800)
commite29b74920e6f0e5a8a26f373b821a3a3e79ceb9a
tree47e0841888e8fa06a5cf6428ba361cf18b68c362
parentaa34b811650ce87a82d1bff027eeb15e2856f7bb
KVM: x86/mmu: Factor out spte atomic bit clearing routine

This new function, tdp_mmu_clear_spte_bits_atomic(), will be used in a
follow-up patch to enable lockless Accessed bit clearing.

Signed-off-by: James Houghton <jthoughton@google.com>
Acked-by: Yu Zhao <yuzhao@google.com>
Link: https://lore.kernel.org/r/20250204004038.1680123-4-jthoughton@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/mmu/tdp_iter.h