[patch V2 00/15] locking/rtmutex: Spring cleaning

From: Thomas Gleixner
Date: Fri Mar 26 2021 - 12:02:25 EST


This is V2 of this cleanup. V1 can be found here:

https://lore.kernel.org/r/87h7kydka0.ffs@xxxxxxxxxxxxxxxxxxxxxxx

While working on the rtmutex related RT bits we noticed quite some
inconsistencies and bitrot in the rtmutex code.

The series is based on

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core

and also available from:

git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git rtmutex

as a combo.

Changes vs. V1:
- Fix the fallout reported by 0day and Sebastian
- Make the open coded replacements work for real
- Add the signal cleanup which I missed last time

Thanks,

tglx
---
a/kernel/locking/rtmutex-debug.c | 182 -----------------
a/kernel/locking/rtmutex-debug.h | 37 ---
a/kernel/locking/rtmutex.h | 35 ---
include/linux/rtmutex.h | 35 ---
kernel/locking/Makefile | 2
kernel/locking/rtmutex.c | 402 ++++++++++++++-------------------------
kernel/locking/rtmutex_common.h | 104 +++++-----
7 files changed, 202 insertions(+), 595 deletions(-)