Re: [PATCH v11 1/4] rust: types: Add Ownable/Owned types

From: Miguel Ojeda
Date: Mon Jul 07 2025 - 08:26:34 EST


On Mon, Jul 7, 2025 at 8:58 AM Oliver Mangold <oliver.mangold@xxxxx> wrote:
>
> I don't have much of an opinion on on that. But maybe refactoring types.rs
> should be an independent task?

Yeah; however, putting things in the final place now (even if we don't
move the rest, which as you say, is independent) avoids a move later
on. Moves are themselves easy, but they can end up being painful to
coordinate between trees / across kernel cycles, and they also make
things harder for backports.

So, if possible, it is best to try to add them in the right place, and
move the rest later.

Thanks!

Cheers,
Miguel