Re: [PATCH] rust: add `CacheAligned` for easy cache line alignment of values

From: Miguel Ojeda

Date: Wed Jan 28 2026 - 13:42:50 EST


On Wed, Jan 28, 2026 at 7:23 PM Andreas Hindborg <a.hindborg@xxxxxxxxxx> wrote:
>
> I think I wrote this before `kernel::prelude`. I would put it in the
> prelude today instead of here, what do you think about that?

I guess it depends on how much we expect it to be used.

i.e. so far we put things in the prelude if they are both general
("core") enough and frequently used.

Cheers,
Miguel