aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2019-04-16 13:32:45 -0700
committerPaolo Bonzini <[email protected]>2019-04-30 21:32:16 +0200
commitf1ba5cfbe47a90f801598a908fd2157bbab2ce1a (patch)
treefda2f6b1a015bc44490c27f6a0f3f61ff9c38831 /tools/perf/scripts/python/export-to-sqlite.py
parentee66e453db13d4837a0dcf9d43efa7a88603161b (diff)
KVM: lapic: Explicitly cancel the hv timer if it's pre-expired
Explicitly call cancel_hv_timer() instead of returning %false to coerce restart_apic_timer() into canceling it by way of start_sw_timer(). Functionally, the existing code is correct in the sense that it doesn't doing anything visibily wrong, e.g. generate spurious interrupts or miss an interrupt. But it's extremely confusing and inefficient, e.g. there are multiple extraneous calls to apic_timer_expired() that effectively get dropped due to @timer_pending being %true. Cc: Wanpeng Li <[email protected]> Cc: Liran Alon <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions