Re: [PATCH] rust: sync: fix safety comment for `static_lock_class`
From: Miguel Ojeda
Date: Tue Jul 22 2025 - 07:54:54 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>
Applied to `rust-next` -- thanks everyone!
Cheers,
Miguel