[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250728-lock-class-key-cleanup-v2-0-ad02b80c69e1@google.com>
Date: Mon, 28 Jul 2025 09:42:54 +0000
From: Alice Ryhl <aliceryhl@...gle.com>
To: Boqun Feng <boqun.feng@...il.com>, Miguel Ojeda <ojeda@...nel.org>
Cc: Gary Guo <gary@...yguo.net>,
"Björn Roy Baron" <bjorn3_gh@...tonmail.com>, Benno Lossin <lossin@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>, Daniel Almeida <daniel.almeida@...labora.com>,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
Alice Ryhl <aliceryhl@...gle.com>
Subject: [PATCH v2 0/2] Clean up Rust LockClassKey
This series applies the suggestion from Benno [1] and various other
improvements I found when looking over the LockClassKey implementation.
Based on rust-next.
[1]: https://lore.kernel.org/all/DBIJLR7XNI6U.21PMPODHE83DZ@kernel.org/
Signed-off-by: Alice Ryhl <aliceryhl@...gle.com>
---
Changes in v2:
- Change safety comment to require a static object. Adjust commit
message accordingly.
- Add Reviewed-by.
- Link to v1: https://lore.kernel.org/r/20250723-lock-class-key-cleanup-v1-0-85fa506b8ca4@google.com
---
Alice Ryhl (2):
rust: sync: refactor static_lock_class!() macro
rust: sync: clean up LockClassKey and its docs
rust/kernel/sync.rs | 78 +++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 58 insertions(+), 20 deletions(-)
---
base-commit: dff64b072708ffef23c117fa1ee1ea59eb417807
change-id: 20250723-lock-class-key-cleanup-a3baf53b123a
Best regards,
--
Alice Ryhl <aliceryhl@...gle.com>
Powered by blists - more mailing lists