General enhancements to rqspinlock stress test
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | selftests/bpf: Relax CPU requirements for rqspinlock stress testtools/ | +1 | 0 replies | Applied |
| 2/3 | selftests/bpf: Add lock wait time stats to rqspinlock stress testtools/ | +104 | 0 replies | Applied |
| 3/3 | selftests/bpf: Make CS length configurable for rqspinlock stress testtools/ | +12 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next v1 0/3] General enhancements to rqspinlock stress test
Three enchancements, details in commit messages.
First, the CPU requirements are 2 for AA, 3 for ABBA, and 4 for ABBCCA, hence relax the check during module initialization. Second, add a per-CPU histogram to capture lock acquisition times to record which buckets these acquisitions fall into for the normal task context and NMI context. Anything below 10ms is not printed in detail, but above that displays the full breakdown for each context. Finally, make the delay of the NMI and task contexts configurable, set to 10 and 20 ms respectively by default.
Kumar Kartikeya Dwivedi (3):
selftests/bpf: Relax CPU requirements for rqspinlock stress test selftests/bpf: Add lock wait time stats to rqspinlock stress test selftests/bpf: Make CS length configurable for rqspinlock stress test
.../bpf/test_kmods/bpf_test_rqspinlock.c | 120 +++++++++++++++++- 1 file changed, 117 insertions(+), 3 deletions(-)
base-commit: 590699d85823f38b74d52a0811ef22ebb61afddc
Signature · 1 line
2.51.0