diff options
| author | Sean Christopherson <[email protected]> | 2025-04-01 14:22:38 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2025-04-04 11:07:39 +0000 |
| commit | 0297cdc12a87629ad904ac8c0630f7702f9a2d48 (patch) | |
| tree | 5b5269d148a9e3ed4ff67ba2ab6fe5778e320ab5 /rust/helpers/workqueue.c | |
| parent | KVM: x86: Acquire SRCU in KVM_GET_MP_STATE to protect guest memory accesses (diff) | |
| download | kernel-0297cdc12a87629ad904ac8c0630f7702f9a2d48.tar.gz kernel-0297cdc12a87629ad904ac8c0630f7702f9a2d48.zip | |
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 <[email protected]>
Cc: Zide Chen <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
