mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] test-ww_mutex: Miscellaneous fixes
@ 2026-06-17 12:13 Håkon Bugge
  2026-06-17 12:13 ` [PATCH 1/4] test-ww_mutex: Fix module cleanup Håkon Bugge
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Håkon Bugge @ 2026-06-17 12:13 UTC (permalink / raw)
  To: linux-kernel

This series fixes:
     - module cleanup
     - error propagation from stress workers
     - transient -EDEADLK handling in test_cycle_work()
     - timeout-related false negatives in stress_inorder_work()

The series is based on v7.1 and has been tested on a 96-CPU x86_64
bare-metal system and a 160-CPU arm64 bare-metal system. Both systems
completed 100 iterations of
tools/testing/selftests/locking/ww_mutex.sh successfully.

It is worth mentioning that the last patch retries up to 10,000 lock
acquisitions after timeout. This value was determined empirically: 10
and 100 retries were insufficient on the test systems, while 10,000
provided stable results and avoided false negatives.

Håkon Bugge (4):
  test-ww_mutex: Fix module cleanup
  test-ww_mutex: Report errors from stress workers
  test-ww_mutex: Handle transient -EDEADLK in test_cycle_work
  test-ww_mutex: Retry lock acquisition after timeout if deadlocked

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

--
2.43.5


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2026-07-09 17:06 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-17 12:13 [PATCH 0/4] test-ww_mutex: Miscellaneous fixes Håkon Bugge
2026-06-17 12:13 ` [PATCH 1/4] test-ww_mutex: Fix module cleanup Håkon Bugge
2026-06-18 17:49   ` John Stultz
2026-06-17 12:13 ` [PATCH 2/4] test-ww_mutex: Report errors from stress workers Håkon Bugge
2026-06-18 17:52   ` John Stultz
2026-07-09  0:03     ` John Stultz
2026-07-09 16:51       ` Haakon Bugge
2026-06-17 12:13 ` [PATCH 3/4] test-ww_mutex: Handle transient -EDEADLK in test_cycle_work Håkon Bugge
2026-06-18 19:04   ` John Stultz
2026-06-22 13:21     ` Haakon Bugge
2026-07-08 19:55       ` John Stultz
2026-07-09 17:05         ` Haakon Bugge
2026-06-17 12:13 ` [PATCH 4/4] test-ww_mutex: Retry lock acquisition after timeout if deadlocked Håkon Bugge
2026-06-18 18:55   ` John Stultz
2026-06-22 13:47     ` Haakon Bugge
2026-07-06  9:01       ` Haakon Bugge
2026-07-06  9:02         ` Haakon Bugge
2026-07-08 20:01       ` John Stultz
2026-07-09 16:56         ` Haakon Bugge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®