On Tue, Jul 15, 2025 at 03:58:27PM +0200, Vitaly Wool wrote: > Add a new type to support specifying NUMA identifiers in Rust > allocators and extend the allocators to have NUMA id as a > parameter. Thus, modify ReallocFunc to use the new extended realloc > primitives from the C side of the kernel (i. e. > k[v]realloc_node_align/vrealloc_node_align) and add the new function > alloc_node to the Allocator trait while keeping the existing one > (alloc) for backward compatibility. > > This will allow to specify node to use for allocation of e. g. > {KV}Box, as well as for future NUMA aware users of the API. > > Signed-off-by: Vitaly Wool <vitaly.wool@xxxxxxxxxxx> > Acked-by: Danilo Krummrich <dakr@xxxxxxxxxx> Acked-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>