[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <EFAE3F9B-645F-4121-9B9A-7D7EE5B072ED@konsulko.se>
Date: Fri, 27 Jun 2025 21:42:58 +0200
From: Vitaly Wool <vitaly.wool@...sulko.se>
To: Danilo Krummrich <dakr@...nel.org>
Cc: linux-mm@...ck.org,
akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org,
Uladzislau Rezki <urezki@...il.com>,
Alice Ryhl <aliceryhl@...gle.com>,
rust-for-linux@...r.kernel.org
Subject: Re: [PATCH v6 3/4] rust: add support for NUMA ids in allocations
> On Jun 27, 2025, at 8:36 PM, Danilo Krummrich <dakr@...nel.org> wrote:
>
> On Fri, Jun 27, 2025 at 08:16:38PM +0200, Vitaly Wool wrote:
>> Add support for specifying NUMA ids in Rust allocators as an Option
>> (i. e. providing `None` as nid corresponds to NUMA_NO_NODE). To do
>> this, modify ReallocFunc to use the new extended realloc primitives
>> from the C side of the kernel (i. e. k[v]realloc_node/vrealloc_node)
>> 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@...sulko.se>
>
> Did you see [1]? I can't see the feedback being addressed.
>
> [1] https://lore.kernel.org/lkml/aF5-a-bUp1pD5tiS@pollux/
Awkwardly enough, this one I did miss.
Powered by blists - more mailing lists