aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorLi RongQing <[email protected]>2022-04-06 19:25:02 +0800
committerPaolo Bonzini <[email protected]>2022-05-12 09:51:40 -0400
commit91ab933f7514fc0fb42b77dc6d128c450baeae0b (patch)
treeaad485cbd1d8089495bdb48365285b4575ca0fbe /tools/perf/scripts/python/check-perf-trace.py
parent33fbe6befa622c082f7d417896832856814bdde0 (diff)
KVM: VMX: clean up pi_wakeup_handler
Passing per_cpu() to list_for_each_entry() causes the macro to be evaluated N+1 times for N sleeping vCPUs. This is a very small inefficiency, and the code is cleaner if the address of the per-CPU variable is loaded earlier. Do this for both the list and the spinlock. Signed-off-by: Li RongQing <[email protected]> Message-Id: <[email protected]> Reviewed-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions