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

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Tue Aug 12 20:12:13 UTC 2025


On Tue, Aug 12, 2025 at 10:00 PM Danilo Krummrich <dakr at kernel.org> 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


More information about the dri-devel mailing list