[GIT PULL] locking/urgent for v5.15-rc1

From: Borislav Petkov
Date: Sun Sep 12 2021 - 05:03:17 EST


Hi Linus,

please pull several locking fixes which accumulated over the merge
window.

Thx.

---

The following changes since commit 8596e589b787732c8346f0482919e83cc9362db1:

Merge tag 'timers-core-2021-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2021-08-30 15:31:33 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/locking_urgent_for_v5.15_rc1

for you to fetch changes up to e5480572706da1b2c2dc2c6484eab64f92b9263b:

locking/rtmutex: Fix ww_mutex deadlock check (2021-09-09 10:31:22 +0200)

----------------------------------------------------------------
- Fix the futex PI requeue machinery to not return to userspace in
inconsistent state

- Avoid a potential null pointer dereference in the ww_mutex deadlock check

- Other smaller cleanups and optimizations

----------------------------------------------------------------
Colin Ian King (1):
futex: Return error code instead of assigning it without effect

Mike Galbraith (1):
locking/rwsem: Add missing __init_rwsem() for PREEMPT_RT

Peter Zijlstra (1):
locking/rtmutex: Fix ww_mutex deadlock check

Thomas Gleixner (4):
futex: Prevent inconsistent state and exit race
futex: Clarify comment for requeue_pi_wake_futex()
futex: Avoid redundant task lookup
futex: Remove unused variable 'vpid' in futex_proxy_trylock_atomic()

include/linux/rwsem.h | 12 +--
kernel/futex.c | 190 +++++++++++++++++++++++++++--------------------
kernel/locking/rtmutex.c | 2 +-
kernel/locking/rwsem.c | 10 ++-
4 files changed, 120 insertions(+), 94 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg