diff options
author | Wei Yang <[email protected]> | 2018-10-04 10:04:23 +0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2018-10-17 00:30:12 +0200 |
commit | e7912386ede89d2aa1f72ebb74969e48e9d5f56c (patch) | |
tree | 6a70d452d025c90e5ab55ae438863b91e223dbb9 /scripts/bpf_helpers_doc.py | |
parent | 8daf346226b22e565baf27ccaec58fed9e108b42 (diff) |
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions