aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2021-01-22 16:03:34 -0800
committerPaolo Bonzini <[email protected]>2021-02-04 05:27:14 -0500
commit15b51dc08a349f2f0832606c900b638a3dd19839 (patch)
tree2333c9a496b81bcfd5247b425a313eea321e3a63 /tools/perf/scripts/python/export-to-postgresql.py
parent19979fba9bfaeab427a8e106d915f0627c952828 (diff)
KVM: x86: Take KVM's SRCU lock only if steal time update is needed
Enter a SRCU critical section for a memslots lookup during steal time update if and only if a steal time update is actually needed. Taking the lock can be avoided if steal time is disabled by the guest, or if KVM knows it has already flagged the vCPU as being preempted. Reword the comment to be more precise as to exactly why memslots will be queried. Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions