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

John Stultz posted 3 patches 2 years, 6 months ago
There is a newer version of this series
kernel/locking/test-ww_mutex.c | 48 ++++++++++++++++++++++++----------
1 file changed, 34 insertions(+), 14 deletions(-)
[RFC][PATCH 0/3] Fixes for test-ww_mutex stress test
Posted by John Stultz 2 years, 6 months ago
As part of recent stabilizing of the proxy-execution series,
I've seen a number of issues from the test-ww_mutex module.

This 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@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Will Deacon <will@kernel.org>
Cc: Waiman Long <longman@redhat.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: "Paul E . McKenney" <paulmck@kernel.org>
Cc: Joel Fernandes <joelaf@google.com>
Cc: Li Zhijian <zhijianx.li@intel.com>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: kernel-team@android.com

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.41.0.640.ga95def55d0-goog