Re: [PATCH 1/4] rust: alloc: replace aligned_size() with Kmalloc::aligned_layout()

From: Miguel Ojeda
Date: Tue Aug 12 2025 - 16:12:49 EST


On Tue, Aug 12, 2025 at 10:00 PM Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>
> I don't think so, it just lead to pad to the alignment for Vmalloc too.
>
> Technically, this makes no difference, since Vmalloc is always PAGE_SIZE aligned
> and the size always a multiple of PAGE_SIZE.

Got it, thanks for the quick reply! Then I guess we could have skipped
the Fixes in this one, but it is not a big deal and as usual it
depends on how one defines "fix".

Cheers,
Miguel