Re: [PATCH v3 0/2] support large align and nid in Rust allocators
From: Danilo Krummrich
Date: Wed Jun 25 2025 - 17:16:04 EST
On Wed, Jun 25, 2025 at 02:10:22PM -0700, Andrew Morton wrote:
> On Wed, 25 Jun 2025 08:29:17 +0200 Vitaly Wool <vitaly.wool@xxxxxxxxxxx> wrote:
>
> > The coming patches provide the ability for Rust allocators to set
> > NUMA node and large alignment.
>
> Including a diffstat would be nice.
>
> include/linux/vmalloc.h | 8 +++---
> mm/nommu.c | 3 +-
> mm/vmalloc.c | 16 ++++++++++--
> rust/helpers/slab.c | 8 ++++--
> rust/helpers/vmalloc.c | 4 +--
> rust/kernel/alloc.rs | 28 ++++++++++++++++++++-
> rust/kernel/alloc/allocator.rs | 40 +++++++++++++++++--------------
> rust/kernel/alloc/kvec.rs | 3 +-
> 8 files changed, 79 insertions(+), 31 deletions(-)
>
> What is the preferred merge path for this series?
I can take it through my Rust alloc tree, but I think it would probably be
better you take it through the mm tree, since I don't expect this to conflict
with anything else in my tree anyways.
The Rust changes gonna need some more discussion though.
- Danilo