aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-04-10 16:17:02 -0700
committerPaolo Bonzini <[email protected]>2020-04-15 12:08:43 -0400
commit8a0639fe9201ed7af73dd40fc4b6f9a4f7b16a42 (patch)
tree8f01c90f708c8b8de0f46ad6d10b84549847b1f4 /tools/perf/scripts/python/bin
parent3e6b94126784fd5b0e781f2e8e980948ee945195 (diff)
KVM: sefltests: Add explicit synchronization to move mem region test
Use sem_post() and sem_timedwait() to synchronize test stages between the vCPU thread and the main thread instead of using usleep() to wait for the vCPU thread and hoping for the best. Opportunistically refactor the code to make it suck less in general, and to prepare for adding more testcases. Suggested-by: Peter Xu <[email protected]> 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/bin')
0 files changed, 0 insertions, 0 deletions