[PATCH 0/2] Clean up Rust LockClassKey

Alice Ryhl posted 2 patches 2 months, 2 weeks ago
There is a newer version of this series
rust/kernel/sync.rs | 77 +++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 57 insertions(+), 20 deletions(-)
[PATCH 0/2] Clean up Rust LockClassKey
Posted by Alice Ryhl 2 months, 2 weeks ago
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@google.com>
---
Alice Ryhl (2):
      rust: sync: refactor static_lock_class!() macro
      rust: sync: clean up LockClassKey and its docs

 rust/kernel/sync.rs | 77 +++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 57 insertions(+), 20 deletions(-)
---
base-commit: dff64b072708ffef23c117fa1ee1ea59eb417807
change-id: 20250723-lock-class-key-cleanup-a3baf53b123a

Best regards,
-- 
Alice Ryhl <aliceryhl@google.com>
Re: [PATCH 0/2] Clean up Rust LockClassKey
Posted by Daniel Almeida 2 months, 2 weeks ago
Hi Alice,

> On 23 Jul 2025, at 08:49, Alice Ryhl <aliceryhl@google.com> wrote:
> 
> 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@google.com>
> ---
> Alice Ryhl (2):
>      rust: sync: refactor static_lock_class!() macro
>      rust: sync: clean up LockClassKey and its docs
> 
> rust/kernel/sync.rs | 77 +++++++++++++++++++++++++++++++++++++++--------------
> 1 file changed, 57 insertions(+), 20 deletions(-)
> ---
> base-commit: dff64b072708ffef23c117fa1ee1ea59eb417807
> change-id: 20250723-lock-class-key-cleanup-a3baf53b123a
> 
> Best regards,
> -- 
> Alice Ryhl <aliceryhl@google.com>
> 
> 


Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>

— Daniel