Skip to content

locking/locktorture: Fix locktorture ww_mutex test problems

Waiman Long lkml 1 version Applied

Status from this message: Applied, thanks Waiman.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5locking/ww_mutex: Revert "Treat ww_mutex_lock() like a trylock"kernel/locking/mutex.c+1 -40 replies
2/5locking/locktorture: Fix false positive circular locking splat in ww_mutex testkernel/locking/locktorture.c+14 -30 replies
3/5locking/ww_mutex: Remove DEFINE_WW_MUTEX() macroinclude/linux/ww_mutex.h+2 -150 replies
4/5locking/locktorture: Pass thread id to lock/unlock functionskernel/locking/locktorture.c+58 -360 replies
5/5locking/locktorture: locking/locktorture: Fix incorrect use of ww_acquire_ctx in ww_mutex testkernel/locking/locktorture.c+27 -120 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH-tip 0/5] locking/locktorture: Fix locktorture ww_mutex test problems

This is a follow-up patch series for the previous patchset on fixing locktorture ww_mutex test problem [1]. The first 3 patches of that series were merged into tip. It turns out that the last one of the three wasn't quite right. So this patch series revert the last patch.

The rests of the patch series fix the ww_mutex testing problem in locktorture as well as removing the DEFINE_WW_MUTEX() macro from include/linux/ww_mutex.h.

[1] https://lore.kernel.org/lkml/[email protected]/

Waiman Long (5):
locking/ww_mutex: Revert "Treat ww_mutex_lock() like a trylock" locking/locktorture: Fix false positive circular locking splat in
ww_mutex test
locking/ww_mutex: Remove DEFINE_WW_MUTEX() macro locking/locktorture: Pass thread id to lock/unlock functions locking/locktorture: locking/locktorture: Fix incorrect use of
ww_acquire_ctx in ww_mutex test

 include/linux/ww_mutex.h     |  17 +---
 kernel/locking/locktorture.c | 146 +++++++++++++++++++++++------------
 kernel/locking/mutex.c       |   5 +-
 3 files changed, 100 insertions(+), 68 deletions(-)
Signature · 1 line
2.18.1