Skip to contentSkip to conversation

locking changes for v6.1

GIT PULL Merged Ingo Molnar 2 participants 2 messages Oct 7, 2022 – Oct 10, 2022

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest locking/core git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-2022-10-07

# HEAD: 76e64c73db9542ff4bae8a60f4f32e38f3799b95 locking/lockdep: Print more debug information - report name and key when look_up_lock_class() got confused

Locking changes for v6.1:

- Disable preemption in rwsem_write_trylock()'s attempt to take the rwsem, to avoid RT tasks hogging the CPU, which managed to preempt this function after the owner has been cleared but before a new owner is set. Also add debug checks to enforce this.

- Add __lockfunc to more slow path functions and add __sched to semaphore functions.

- Mark spinlock APIs noinline when the respective CONFIG_INLINE_SPIN_* toggles are disabled, to reduce LTO text size.

- Print more debug information when lockdep gets confused in look_up_lock_class().

- Improve header file abuse checks.

- Misc cleanups

Thanks,

Ingo

------------------>
Andi Kleen (1):
locking/spinlocks: Mark spinlocks noinline when inline spinlocks are disabled

Gokul krishna Krishnakumar (1):
locking/rwsem: Disable preemption while trying for rwsem lock

Namhyung Kim (2):
locking: Add __lockfunc to slow path functions
locking: Add __sched to semaphore functions

Sebastian Andrzej Siewior (1):
locking: Detect includes rwlock.h outside of spinlock.h

Slark Xiao (1):
selftests: futex: Fix 'the the' typo in comment

Tetsuo Handa (1):
locking/lockdep: Print more debug information - report name and key when look_up_lock_class() got confused

 arch/x86/include/asm/qspinlock_paravirt.h          | 13 ++---
 include/linux/rwlock.h                             |  2 +-
 include/linux/spinlock.h                           |  2 +
 include/linux/spinlock_api_smp.h                   |  2 +-
 include/linux/spinlock_api_up.h                    |  2 +-
 include/linux/spinlock_rt.h                        |  2 +-
 include/linux/spinlock_up.h                        |  2 +-
 kernel/locking/lockdep.c                           |  6 ++-
 kernel/locking/qrwlock.c                           |  4 +-
 kernel/locking/qspinlock.c                         |  2 +-
 kernel/locking/qspinlock_paravirt.h                |  4 +-
 kernel/locking/rwsem.c                             | 14 +++++-
 kernel/locking/semaphore.c                         | 12 ++---
 kernel/locking/spinlock.c                          | 56 +++++++++++-----------
 .../functional/futex_requeue_pi_signal_restart.c   |  2 +-
 15 files changed, 70 insertions(+), 55 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 7 Oct 2022 10:12:13 +0200:

The pull request you sent on Fri, 7 Oct 2022 10:12:13 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-2022-10-07

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3e71f0167b3db4e4b3d0d8353c375f6587323052

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html