mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] [PATCH 0/9] Locking changes for v6.17
@ 2025-07-16 14:48 Boqun Feng
  2025-07-16 14:48 ` [PATCH 1/9] spi: spi-nxp-fspi: Check return value of devm_mutex_init() Boqun Feng
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Boqun Feng @ 2025-07-16 14:48 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra
  Cc: Will Deacon, Waiman Long, Miguel Ojeda, Alice Ryhl, linux-kernel,
	rust-for-linux, Breno Leitao, Paul E. McKenney, Boqun Feng

Hi Ingo & Peter,

Please pull the lockdep changes for v6.17 into tip. One thing to notice
is that I would like to add Breno Leitao's workaround in
lockdep_unregister_key(), since the alternative requires hazptr and I'm
not near to get it done. I added comments explaining this and left a
TODO there, and I will replace it once the shazptr patch is in a good
shape. Peter, if you have any concern about it, either we can drop the
patch #9 or I can create another tag. Thanks!

The following changes since commit 7ff495e26a39f3e7a3d4058df59b5b6d6f943cab:

  local_lock: Move this_cpu_ptr() notation from internal to main header (2025-06-30 17:45:35 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/boqun/linux.git tags/lockdep-for-tip.2025.07.16

for you to fetch changes up to 7a3cedafccf8e7d038ad4cfec5b38052647ceac5:

  lockdep: Speed up lockdep_unregister_key() with expedited RCU synchronization (2025-07-14 21:57:29 -0700)

----------------------------------------------------------------
Locking changes for v6.17:

- General
  - Mark devm_mutex_init() as __must_check
  - Add #[must_use] to Lock::try_lock()
  - Remove OWNER_SPINNABLE in rwsem
  - Remove redundant #ifdefs in mutex
- Lockdep
  - Avoid returning struct in lock_stats()
  - Change `static const` into enum for LOCKF_*_IRQ_*
  - Temporarily use synchronize_rcu_expedited() in
    lockdep_unregister_key() to speed things up.

----------------------------------------------------------------

Regards,
Boqun

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

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/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 ++
 10 files changed, 50 insertions(+), 40 deletions(-)
-- 
2.39.5 (Apple Git-154)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-07-16 14:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-16 14:48 [GIT PULL] [PATCH 0/9] Locking changes for v6.17 Boqun Feng
2025-07-16 14:48 ` [PATCH 1/9] spi: spi-nxp-fspi: Check return value of devm_mutex_init() Boqun Feng
2025-07-16 14:48 ` [PATCH 2/9] leds: lp8860: " Boqun Feng
2025-07-16 14:48 ` [PATCH 3/9] locking/mutex: Mark devm_mutex_init() as __must_check Boqun Feng
2025-07-16 14:48 ` [PATCH 4/9] rust: sync: Add #[must_use] to Lock::try_lock() Boqun Feng
2025-07-16 14:48 ` [PATCH 5/9] locking/rwsem: Use OWNER_NONSPINNABLE directly instead of OWNER_SPINNABLE Boqun Feng
2025-07-16 14:48 ` [PATCH 6/9] locking/lockdep: Avoid struct return in lock_stats() Boqun Feng
2025-07-16 14:48 ` [PATCH 7/9] locking/lockdep: Change 'static const' variables to enum values Boqun Feng
2025-07-16 14:48 ` [PATCH 8/9] locking/mutex: Remove redundant #ifdefs Boqun Feng
2025-07-16 14:48 ` [PATCH 9/9] lockdep: Speed up lockdep_unregister_key() with expedited RCU synchronization Boqun Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®