[PATCH 1/4] rust: alloc: replace aligned_size() with Kmalloc::aligned_layout()
Danilo Krummrich
dakr at kernel.org
Tue Aug 12 20:00:02 UTC 2025
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
More information about the dri-devel
mailing list