locktorture: Add nested locking to mutex torture tests
authorJohn Stultz <jstultz@google.com>
Tue, 21 Feb 2023 19:02:36 +0000 (19:02 +0000)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 7 Mar 2023 18:13:57 +0000 (10:13 -0800)
commit3e5aeaf53422bdd79fecf89aa160f048114e013c
treefb89ae31fdc4c7aa34f81dc9ec7d9229e661125b
parentb63343207da21179d82df933f42a1725a53b9a63
locktorture: Add nested locking to mutex torture tests

This patch adds randomized nested locking to the mutex torture
tests, as well as new LOCK08 config files for testing mutexes
with nested locking

Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: "Paul E. McKenney" <paulmck@kernel.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Valentin Schneider <vschneid@redhat.com>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: kernel-team@android.com
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Co-developed-by: Connor O'Brien <connoro@google.com>
Signed-off-by: Connor O'Brien <connoro@google.com>
Signed-off-by: John Stultz <jstultz@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/locking/locktorture.c
tools/testing/selftests/rcutorture/configs/lock/CFLIST
tools/testing/selftests/rcutorture/configs/lock/LOCK08 [new file with mode: 0644]
tools/testing/selftests/rcutorture/configs/lock/LOCK08.boot [new file with mode: 0644]