Skip to contentSkip to conversation

locking changes for v6.17

GIT PULL Merged Ingo Molnar 2 participants 2 messages Jul 29, 2025 – Jul 30, 2025

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-2025-07-29

# HEAD: ba28549bad8ab2b09264ebc8c2ca24af3537ee52 Merge tag 'lockdep-for-tip.2025.07.16' of git://git.kernel.org/pub/scm/linux/kernel/git/boqun/linux into locking/core

Locking updates for v6.16:

Locking primitives:

- Mark devm_mutex_init() as __must_check and fix drivers that didn't check the return code. (Thomas Weißschuh)

- Reorganize <linux/local_lock.h> to better expose the internal APIs to local variables. (Sebastian Andrzej Siewior)

- Remove OWNER_SPINNABLE in rwsem (Jinliang Zheng)

- Remove redundant #ifdefs in the mutex code (Ran Xiaokai)

Lockdep:

- Avoid returning struct in lock_stats() (Arnd Bergmann)

- Change static const into enum for LOCKF_*_IRQ_* (Arnd Bergmann)

- Temporarily use synchronize_rcu_expedited() in lockdep_unregister_key() to speed things up. (Breno Leitao)

Rust runtime:

- Add #[must_use] to Lock::try_lock() (Jason Devers)

Thanks,

Ingo

------------------>
Arnd Bergmann (2):
locking/lockdep: Avoid struct return in lock_stats() locking/lockdep: Change 'static const' variables to enum values

Breno Leitao (1):
lockdep: Speed up lockdep_unregister_key() with expedited RCU synchronization

Jason Devers (1):
rust: sync: Add #[must_use] to Lock::try_lock()

Jinliang Zheng (1):
locking/rwsem: Use OWNER_NONSPINNABLE directly instead of OWNER_SPINNABLE

Ran Xiaokai (1):
locking/mutex: Remove redundant #ifdefs

Sebastian Andrzej Siewior (1):
local_lock: Move this_cpu_ptr() notation from internal to main header

Thomas Weißschuh (3):
spi: spi-nxp-fspi: Check return value of devm_mutex_init()
leds: lp8860: Check return value of devm_mutex_init() locking/mutex: Mark devm_mutex_init() as __must_check

 drivers/leds/leds-lp8860.c          |  4 +++-
 drivers/spi/spi-nxp-fspi.c          |  4 +++-
 include/linux/local_lock.h          | 20 +++++++++----------
 include/linux/local_lock_internal.h | 30 ++++++++++++++--------------
 include/linux/lockdep_types.h       |  2 +-
 include/linux/mutex.h               | 11 +++++++----
 kernel/locking/lockdep.c            | 39 +++++++++++++++++++++----------------
 kernel/locking/lockdep_internals.h  | 18 +++++++++--------
 kernel/locking/lockdep_proc.c       |  2 +-
 kernel/locking/mutex.c              |  4 ----
 kernel/locking/rwsem.c              |  4 +---
 rust/kernel/sync/lock.rs            |  2 ++
 12 files changed, 75 insertions(+), 65 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Tue, 29 Jul 2025 08:52:04 +0200:

The pull request you sent on Tue, 29 Jul 2025 08:52:04 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-2025-07-29

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/72b8944f147e151e845d976e7f48beff38967499

Thank you!

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