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

From: Danilo Krummrich
Date: Tue Aug 12 2025 - 16:01:46 EST


On Tue Aug 12, 2025 at 9:52 PM CEST, Miguel Ojeda wrote:
> Did this need Cc: stable or was it skipped since it is just extra padding?

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.

However, the patch is a prerequisite for the DRM device fix in patch 2.

- Danilo