Re: [PATCH 0/4] Rust netlink support + use in Rust Binder
From: Alice Ryhl <aliceryhl@google.com>
Date: 2026-03-07 22:41:12
Also in:
lkml, rust-for-linux
From: Alice Ryhl <aliceryhl@google.com>
Date: 2026-03-07 22:41:12
Also in:
lkml, rust-for-linux
On Sat, Mar 07, 2026 at 10:39:28PM +0100, Andrew Lunn wrote:
quoted
quoted
Please no duplication of existing code in Rust.The plan is certainly to get rid of C Binder, but it was unfortunately not possible to get there without a transition period.Dumb question.... Why?
The reasons for moving to a Rust implementation are discussed in the cover letter [1], and in my 2023 plumbers talk [2]. [1]: https://lore.kernel.org/all/20231101-rust-binder-v1-0-08ba9197f637@google.com/ (local) [2]: https://www.youtube.com/watch?v=Kt3hpvMZv8o
You are just sending messages to user space. Does the rust version send different messages? Can user space tell the difference?
No, it sends the same messages. The intent is for Android to move to the Rust implementation without userspace being able to tell the difference. Alice