[<prev] [next>] [day] [month] [year] [list]
Message-ID: <bacf0774-2128-43e8-92cf-6754fb554824@elijahs.space>
Date: Thu, 25 Sep 2025 11:52:18 -0700
From: Elijah <me@...jahs.space>
To: Danilo Krummrich <dakr@...nel.org>
Cc: Elijah Wright <git@...jahs.space>, Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>, Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>, Björn Roy Baron
<bjorn3_gh@...tonmail.com>, Benno Lossin <lossin@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org, Lorenzo Stoakes <lorenzo.stoakes@...cle.com>,
Vlastimil Babka <vbabka@...e.cz>, "Liam R. Howlett"
<Liam.Howlett@...cle.com>, Uladzislau Rezki <urezki@...il.com>,
linux-mm@...ck.org
Subject: Re: [PATCH] rust: slab: add basic slab module
On 9/25/2025 11:51 AM, Elijah wrote:
> On 9/25/2025 11:15 AM, Danilo Krummrich wrote:
>> What are the other complex issues you are referring to?
>
> I think I misunderstood what was involved for (4). I was thinking of
> keeping the extra reference in the object but I think it can be done per
> CPU. I'm not totally sure how much would be changed in the kernel but no
> matter the implementation for (4) there will be some complexity
>
>> I'm not sold on duplicating the Box code just yet. What issues are you
>> referring
>> to?
>
> mainly where the cache isn't static. if you have kmem accounting enabled
> and a ZST that encodes the original cache's address then that would
> break, unless I'm misunderstanding (3), but that's just an example. I'm
> just thinking of potential code in the kernel now
Powered by blists - more mailing lists