Re: [PATCH 1/5] rust: sync: move lockdep types to rust/kernel/sync/lockdep.rs

From: Boqun Feng

Date: Mon Jun 29 2026 - 23:20:45 EST


On Tue, Jun 23, 2026 at 03:38:04PM +0000, Alice Ryhl wrote:
> The lockdep types are currently stored directly in rust/kernel/sync.rs,
> but there are starting to be too many of them to keep them in that file.
> Thus, move them to a submodule.
>
> For commonly used lockdep logic it's useful to keep re-exports in
> kernel::sync, and this also avoids the need to update any users.
>
> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>

Reviewed-by: Boqun Feng <boqun@xxxxxxxxxx>

Regards,
Boqun