]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
locktorture: Add nested locking to rtmutex torture tests
authorJohn Stultz <jstultz@google.com>
Tue, 21 Feb 2023 19:02:37 +0000 (19:02 +0000)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 7 Mar 2023 18:13:57 +0000 (10:13 -0800)
commitae4823e427954d30ab393888a334f9d1fd8cd597
tree7ff754ed224a4aedb917e1a7923690d88e173bfc
parent3e5aeaf53422bdd79fecf89aa160f048114e013c
locktorture: Add nested locking to rtmutex torture tests

This patch adds randomized nested locking to the rtmutex torture
tests. Additionally it adds LOCK09 config files for testing
rtmutexes 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/LOCK09 [new file with mode: 0644]
tools/testing/selftests/rcutorture/configs/lock/LOCK09.boot [new file with mode: 0644]