original_kernel/tools/testing/selftests/rseq
Mathieu Desnoyers d53271c059 selftests/rseq: Do not skip !allowed_cpus for mm_cid
Indexing with mm_cid is incompatible with skipping disallowed cpumask,
because concurrency IDs are based on a virtual ID allocation which is
unrelated to the physical CPU mask.

These issues can be reproduced by running the rseq selftests under a
taskset which excludes CPU 0, e.g.

  taskset -c 10-20 ./run_param_test.sh

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: "Paul E. McKenney" <paulmck@kernel.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-01-22 11:40:36 -07:00
..
.gitignore
Makefile
basic_percpu_ops_test.c
basic_test.c
compiler.h
param_test.c
rseq-abi.h
rseq-arm-bits.h
rseq-arm.h
rseq-arm64-bits.h
rseq-arm64.h selftests/rseq: Fix arm64 buggy load-acquire/store-release macros 2023-08-08 14:42:06 -06:00
rseq-bits-reset.h
rseq-bits-template.h
rseq-generic-thread-pointer.h
rseq-mips-bits.h
rseq-mips.h
rseq-ppc-bits.h
rseq-ppc-thread-pointer.h
rseq-ppc.h
rseq-riscv-bits.h
rseq-riscv.h
rseq-s390-bits.h
rseq-s390.h
rseq-thread-pointer.h
rseq-x86-bits.h selftests/rseq: x86: Template memory ordering and percpu access mode 2022-12-27 12:52:12 +01:00
rseq-x86-thread-pointer.h
rseq-x86.h
rseq.c
rseq.h
run_param_test.sh
settings