[PATCH 0/3] Fixes for test-ww_mutex stress test

From: John Stultz
Date: Fri Sep 22 2023 - 00:36:31 EST


As part of recent stabilizing of the proxy-execution series,
I've seen a number of issues from the test-ww_mutex module.

This test is great for shaking out problems in the patches, but
in some cases it seems the patch series has made it easier to
uncover problems in the test-ww_mutex stress tests.

So this patch series provides a few fixes that I've come up with
in testing with qemu using large cpu counts.

Feedback would be greatly appreciated!

thanks
-john

Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Will Deacon <will@xxxxxxxxxx>
Cc: Waiman Long <longman@xxxxxxxxxx>
Cc: Boqun Feng <boqun.feng@xxxxxxxxx>
Cc: "Paul E . McKenney" <paulmck@xxxxxxxxxx>
Cc: Joel Fernandes <joelaf@xxxxxxxxxx>
Cc: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>
Cc: kernel-team@xxxxxxxxxxx

John Stultz (3):
test-ww_mutex: Use prng instead of rng to avoid hangs at bootup
test-ww_mutex: Fix potential workqueue corruption
test-ww_mutex: Make sure we bail out instead of livelock

kernel/locking/test-ww_mutex.c | 48 ++++++++++++++++++++++++----------
1 file changed, 34 insertions(+), 14 deletions(-)

--
2.42.0.515.g380fc7ccd1-goog