diff options
author | Sean Christopherson <seanjc@google.com> | 2025-04-01 17:22:38 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-04-04 14:07:39 +0300 |
commit | 0297cdc12a87629ad904ac8c0630f7702f9a2d48 (patch) | |
tree | 5b5269d148a9e3ed4ff67ba2ab6fe5778e320ab5 /tools/perf/scripts/python/gecko.py | |
parent | ef01cac401f18647d62720cf773d7bb0541827da (diff) | |
download | linux-0297cdc12a87629ad904ac8c0630f7702f9a2d48.tar.xz |
KVM: selftests: Add option to rseq test to override /dev/cpu_dma_latency
Add a "-l <latency>" param to the rseq test so that the user can override
/dev/cpu_dma_latency, as described by the test's suggested workaround for
not being able to complete enough migrations.
cpu_dma_latency is not a normal file, even as far as procfs files go.
Writes to cpu_dma_latency only persist so long as the file is open, e.g.
so that the kernel automatically reverts back to a power-optimized state
once the sensitive workload completes. Provide the necessary functionality
instead of effectively forcing the user to write a non-obvious wrapper.
Cc: Dongsheng Zhang <dongsheng.x.zhang@intel.com>
Cc: Zide Chen <zide.chen@intel.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20250401142238.819487-1-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions