Re: [PATCH] rust: sync: fix safety comment for `static_lock_class`
From: Alice Ryhl
Date: Tue Jul 22 2025 - 07:15:01 EST
On Wed, May 21, 2025 at 1:17 AM Benno Lossin <lossin@xxxxxxxxxx> wrote:
>
> The safety comment mentions lockdep -- which from a Rust perspective
> isn't important -- and doesn't mention the real reason for why it's
> sound to create `LockClassKey` as uninitialized memory.
>
> Signed-off-by: Benno Lossin <lossin@xxxxxxxxxx>
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>