Skip to content

rtmutex: Repair deadlock detector and cleanup

Thomas Gleixner lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6rtmutex: Fix deadlock detector for realkernel/locking/rtmutex.c+21 -62 replies
2/6rtmutex: Remove builtin testerkernel/locking/Makefile kernel/locking/rtmutex-tester.c kernel/locking/rtmutex.c +17 more+1 -19861 reply
3/6rtmutex: Cleanup deadlock detector debug logickernel/futex.c kernel/locking/rtmutex.c kernel/locking/rtmutex.h +1 more+59 -131 reply
4/6rtmutex: Confine deadlock logic to futexinclude/linux/rtmutex.h kernel/futex.c kernel/locking/rtmutex.c +1 more+37 -393 replies
5/6rtmutex: Clarify the lock chain walkkernel/locking/rtmutex.c+42 -81 reply
6/6rtmutex: Avoid pointless requeueing in the deadlock detection chain walkkernel/locking/rtmutex.c+54 -333 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [patch 0/6] rtmutex: Repair deadlock detector and cleanup

The first patch in the series makes the deadlock detector work again.

The second is removing the rtmutex tester as with the current implementation of the lock chain walk plus the demise of the lock steal mechanism and the BKL extra logic, we can now build a tester in userspace via the futex syscall.

The other patches clarify and optimize the deadlock detection logic and the lock chain walk mechanism.

Thanks,

Thomas