Mathieu Desnoyers
c91b0bf3e5
selftests/rseq: Revert "selftests/rseq: Add mm_numa_cid to test script"
...
The mm_numa_cid related rseq patches from the series were not picked up
into the tip tree, so enabling the mm_numa_cid test needs to be
reverted.
This reverts commit b344b8f2d8 .
Reported-by: kernel test robot <[email protected] >
Signed-off-by: Mathieu Desnoyers <[email protected] >
Signed-off-by: Peter Zijlstra (Intel) <[email protected] >
Link: https://lore.kernel.org/oe-lkp/[email protected]
2023-01-12 11:22:22 +01:00
Mathieu Desnoyers
b344b8f2d8
selftests/rseq: Add mm_numa_cid to test script
...
Add mm_numa_cid tests to the run_param_test.sh test script.
Signed-off-by: Mathieu Desnoyers <[email protected] >
Signed-off-by: Peter Zijlstra (Intel) <[email protected] >
Link: https://lkml.kernel.org/r/[email protected]
2022-12-27 12:52:16 +01:00
Mathieu Desnoyers
ee31fff091
selftests/rseq: Implement parametrized mm_cid test
...
Adapt to the rseq.h API changes introduced by commits
"selftests/rseq: <arch>: Template memory ordering and percpu access mode".
Build a new param_test_mm_cid, param_test_mm_cid_benchmark, and
param_test_mm_cid_compare_twice executables to test the new "mm_cid"
rseq field.
Signed-off-by: Mathieu Desnoyers <[email protected] >
Signed-off-by: Peter Zijlstra (Intel) <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
2022-12-27 12:52:15 +01:00
Peter Oskolkov
f166b111e0
rseq/selftests: Test MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ
...
Based on Google-internal RSEQ work done by Paul Turner and Andrew
Hunter.
This patch adds a selftest for MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ.
The test quite often fails without the previous patch in this
patchset, but consistently passes with it.
Signed-off-by: Peter Oskolkov <[email protected] >
Signed-off-by: Peter Zijlstra (Intel) <[email protected] >
Acked-by: Mathieu Desnoyers <[email protected] >
Link: https://lkml.kernel.org/r/[email protected]
2020-09-25 14:23:27 +02:00
Mathieu Desnoyers
0a7dc82ef2
rseq/selftests: Adapt number of threads to the number of detected cpus
...
On smaller systems, running a test with 200 threads can take a long
time on machines with smaller number of CPUs.
Detect the number of online cpus at test runtime, and multiply that
by 6 to have 6 rseq threads per cpu preempting each other.
Signed-off-by: Mathieu Desnoyers <[email protected] >
Cc: Shuah Khan <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Joel Fernandes <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dave Watson <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Andi Kleen <[email protected] >
Cc: [email protected]
Cc: "H . Peter Anvin" <[email protected] >
Cc: Chris Lameter <[email protected] >
Cc: Russell King <[email protected] >
Cc: Michael Kerrisk <[email protected] >
Cc: "Paul E . McKenney" <[email protected] >
Cc: Paul Turner <[email protected] >
Cc: Boqun Feng <[email protected] >
Cc: Josh Triplett <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Ben Maurer <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Linus Torvalds <[email protected] >
Signed-off-by: Shuah Khan <[email protected] >
2019-04-08 16:44:21 -06:00
Mathieu Desnoyers
e7c9996bb3
rseq/selftests: Make run_param_test.sh executable
...
The executable bit of the run_param_test.sh script got lost in
the merge.
Signed-off-by: Mathieu Desnoyers <[email protected] >
Cc: Andrew Hunter <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Ben Maurer <[email protected] >
Cc: Boqun Feng <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Chris Lameter <[email protected] >
Cc: Dave Watson <[email protected] >
Cc: Joel Fernandes <[email protected] >
Cc: Josh Triplett <[email protected] >
Cc: Linus Torvalds <[email protected] >
Cc: Michael Kerrisk <[email protected] >
Cc: Paul E . McKenney <[email protected] >
Cc: Paul Turner <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Russell King <[email protected] >
Cc: Shuah Khan <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2018-06-21 12:39:56 +02:00
Mathieu Desnoyers
ccba8b6445
rseq/selftests: Provide Makefile, scripts, gitignore
...
A run_param_test.sh script runs many variants of the parametrizable
tests.
Wire up the rseq Makefile, add directory entry into MAINTAINERS file.
Signed-off-by: Mathieu Desnoyers <[email protected] >
Signed-off-by: Thomas Gleixner <[email protected] >
Cc: Joel Fernandes <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dave Watson <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Shuah Khan <[email protected] >
Cc: Andi Kleen <[email protected] >
Cc: [email protected]
Cc: "H . Peter Anvin" <[email protected] >
Cc: Chris Lameter <[email protected] >
Cc: Russell King <[email protected] >
Cc: Andrew Hunter <[email protected] >
Cc: Michael Kerrisk <[email protected] >
Cc: "Paul E . McKenney" <[email protected] >
Cc: Paul Turner <[email protected] >
Cc: Boqun Feng <[email protected] >
Cc: Josh Triplett <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Ben Maurer <[email protected] >
Cc: [email protected]
Cc: Andy Lutomirski <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Linus Torvalds <[email protected] >
Link: https://lkml.kernel.org/r/[email protected]
2018-06-06 11:58:35 +02:00