* Re: [PATCH rust-next] rust: binder: refactor context management to use KVVec
[not found] <20260117162242.950194-1-jason.kei.hall@gmail.com>
@ 2026-01-18 9:37 ` Alice Ryhl
0 siblings, 0 replies; only message in thread
From: Alice Ryhl @ 2026-01-18 9:37 UTC (permalink / raw)
To: jkhall81
Cc: Greg Kroah-Hartman, Arve Hjønnevåg, Todd Kjos,
Carlos Llamas, linux-kernel, rust-for-linux
On Sat, Jan 17, 2026 at 09:22:42AM -0700, jkhall81 wrote:
> Replace the intrusive linked list management in context.rs with KVVec.
> This modernization simplifies the ownership model by using standard
> Arc-based tracking and moves away from manual unsafe list removals.
>
> The refactor improves memory safety by leveraging Rust's contiguous
> collection types while maintaining proper error propagation for
> allocation failures during process registration.
>
> Suggested-by: Alice Ryhl <aliceryhl@google.com>
> Link: https://github.com/rust-for-linux/linux/issues/1215
> Signed-off-by: jkhall81 <jason.kei.hall@gmail.com>
This could cc the rust for linux list:
rust-for-linux@vger.kernel.org
Alice
^ permalink raw reply [flat|nested] only message in thread