Skip to content

RFC Fixes for test-ww_mutex stress test

John Stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3test-ww_mutex: Use prng instead of rng to avoid hangs at bootupkernel/locking/test-ww_mutex.c+17 -24 replies
2/3test-ww_mutex: Fix potential workqueue corruptionkernel/locking/test-ww_mutex.c+12 -80 replies
3/3test-ww_mutex: Make sure we bail out instead of livelockkernel/locking/test-ww_mutex.c+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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 <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Will Deacon <[email protected]>
Cc Waiman Long <[email protected]>
Cc Boqun Feng <[email protected]>
Cc "Paul E . McKenney" <[email protected]>
Cc Joel Fernandes <[email protected]>
Cc Li Zhijian <[email protected]>
Cc Dietmar Eggemann <[email protected]>

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(-)
Signature · 1 line
2.41.0.640.ga95def55d0-goog