mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Boqun Feng <boqun.feng@gmail.com>
To: Ingo Molnar <mingo@kernel.org>, Peter Zijlstra <peterz@infradead.org>
Cc: "Will Deacon" <will@kernel.org>,
	"Waiman Long" <longman@redhat.com>,
	Miguel Ojeda <ojeda@kernel.org>,
	Alice Ryhl <aliceryhl@google.com>,
	linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org,
	Breno Leitao <leitao@debian.org>,
	"Paul E. McKenney" <paulmck@kernel.org>,
	Boqun Feng <boqun.feng@gmail.com>
Subject: [GIT PULL] [PATCH 0/9] Locking changes for v6.17
Date: Wed, 16 Jul 2025 07:48:09 -0700	[thread overview]
Message-ID: <20250716144818.47650-1-boqun.feng@gmail.com> (raw)

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)


             reply	other threads:[~2025-07-16 14:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-16 14:48 Boqun Feng [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250716144818.47650-1-boqun.feng@gmail.com \
    --to=boqun.feng@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=leitao@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=longman@redhat.com \
    --cc=mingo@kernel.org \
    --cc=ojeda@kernel.org \
    --cc=paulmck@kernel.org \
    --cc=peterz@infradead.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®