Re: [PATCH v13 0/4] support large align and nid in Rust allocators
From: Alice Ryhl
Date: Fri Jul 25 2025 - 03:14:49 EST
On Thu, Jul 24, 2025 at 10:54 PM Andrew Morton
<akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, 15 Jul 2025 15:56:45 +0200 Vitaly Wool <vitaly.wool@xxxxxxxxxxx> wrote:
>
> > The coming patches provide the ability for Rust allocators to set
> > NUMA node and large alignment.
> >
> > ...
> >
> > fs/bcachefs/darray.c | 2 -
> > fs/bcachefs/util.h | 2 -
> > include/linux/bpfptr.h | 2 -
> > include/linux/slab.h | 39 ++++++++++++++++++++++---------------
> > include/linux/vmalloc.h | 12 ++++++++---
> > lib/rhashtable.c | 4 +--
> > mm/nommu.c | 3 +-
> > mm/slub.c | 64 +++++++++++++++++++++++++++++++++++++++++--------------------
> > mm/vmalloc.c | 29 ++++++++++++++++++++++-----
> > rust/helpers/slab.c | 10 +++++----
> > rust/helpers/vmalloc.c | 5 ++--
> > rust/kernel/alloc.rs | 54 ++++++++++++++++++++++++++++++++++++++++++++++-----
> > rust/kernel/alloc/allocator.rs | 49 +++++++++++++++++++++-------------------------
> > rust/kernel/alloc/kbox.rs | 4 +--
> > rust/kernel/alloc/kvec.rs | 11 ++++++++--
> > 15 files changed, 200 insertions(+), 90 deletions(-)
>
> I assume we're looking for a merge into mm.git?
>
> We're at -rc7 so let's target 6.17. Please resend around the end of
> the upcoming merge window?
I think it would make sense for this to land through mm.git, so yes
that sounds like a good plan.
Alice