Re: [PATCH v13 0/4] support large align and nid in Rust allocators

From: Danilo Krummrich
Date: Fri Jul 25 2025 - 06:01:40 EST


(Cc: Hui)

On Thu Jul 24, 2025 at 10:54 PM CEST, Andrew Morton 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?

Yes, I think that's what we agreed in v1 -- the bits I maintain should carry my
Acked-by already.

> We're at -rc7 so let's target 6.17. Please resend around the end of
> the upcoming merge window?

Yes, this is too late for this cycle. Given that we target the next one, there's
a patch in my queue [1] that interacts with this series.

It would be good if you could pick up [1] (once ready) after this series lands.
I asked Hui to rebase onto this series and Cc you for subsequent submissions for
this purpose.

[1] https://lore.kernel.org/lkml/da9b2afca02124ec14fc9ac7f2a2a85e5be96bc7.1753423953.git.zhuhui@xxxxxxxxxx/