aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Xu <[email protected]>2020-04-16 11:59:10 -0400
committerPaolo Bonzini <[email protected]>2020-05-15 12:26:15 -0400
commit0fd460446912dd96fd1e08995f57b14806c10478 (patch)
treee8e654b6096da7f83ef30b9f924ebe25cd57b67b /tools/perf/scripts/python
parent5b494aea13fe9ec67365510c0d75835428cbb303 (diff)
KVM: X86: Sanity check on gfn before removal
The index returned by kvm_async_pf_gfn_slot() will be removed when an async pf gfn is going to be removed. However kvm_async_pf_gfn_slot() is not reliable in that it can return the last key it loops over even if the gfn is not found in the async gfn array. It should never happen, but it's still better to sanity check against that to make sure no unexpected gfn will be removed. Signed-off-by: Peter Xu <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions