summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2018-10-04 10:04:23 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-17 00:30:12 +0200
commite7912386ede89d2aa1f72ebb74969e48e9d5f56c (patch)
tree6a70d452d025c90e5ab55ae438863b91e223dbb9 /virt/kvm
parent8daf346226b22e565baf27ccaec58fed9e108b42 (diff)
downloadlinux-e7912386ede89d2aa1f72ebb74969e48e9d5f56c.tar.bz2
KVM: x86: reintroduce pte_list_remove, but including mmu_spte_clear_track_bits
rmap_remove() removes the sptep after locating the correct rmap_head but, in several cases, the caller has already known the correct rmap_head. This patch introduces a new pte_list_remove(); because it is known that the spte is present (or it would not have an rmap_head), it is safe to remove the tracking bits without any previous check. Signed-off-by: Wei Yang <richard.weiyang@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions