diff options
author | Sean Christopherson <seanjc@google.com> | 2025-01-10 16:30:02 -0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-02-12 09:00:56 -0800 |
commit | 2680dcfb34e2c9ac88bff4e01d7bf366aa9976c0 (patch) | |
tree | 11d2553b8420cdc27f3354f6d59392e72efa0c7c /tools/perf/scripts/python/task-analyzer.py | |
parent | 2020d3b77a5a40a133e18fb4c870e9fe384405fd (diff) |
KVM: selftests: Set per-iteration variables at the start of each iteration
Set the per-iteration variables at the start of each iteration instead of
setting them before the loop, and at the end of each iteration. To ensure
the vCPU doesn't race ahead before the first iteration, simply have the
vCPU worker want for sem_vcpu_cont, which conveniently avoids the need to
special case posting sem_vcpu_cont from the loop.
Link: https://lore.kernel.org/r/20250111003004.1235645-19-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions