]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'general-enhancements-to-rqspinlock-stress-test'
authorAlexei Starovoitov <ast@kernel.org>
Tue, 25 Nov 2025 23:30:14 +0000 (15:30 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 25 Nov 2025 23:30:14 +0000 (15:30 -0800)
Kumar Kartikeya Dwivedi says:

====================
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.
====================

Link: https://patch.msgid.link/20251125020749.2421610-1-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

Trivial merge