Removing the C implementation of Binder from the Linux kernel
At the Kangrejos 2026 conference, Carlos Llamas announced that the C implementation of Binder[1], Android's main interprocess communication mechanism, had been deleted from the kernel. Alice Ryhl, who has worked on the Rust version for years, described the hardest parts of the switch. Google's internal red team considered Binder the most vulnerability-dense component in the operating system, with more CVEs[2] per line than anywhere else.
Ryhl said tail latency[3] matters more than throughput, because a Binder transaction is on the critical path of most Android screen frames, so a 20-millisecond delay would be noticed. The C and Rust versions use identical algorithms, but Rust's locking caused lock contention, which Ryhl solved by moving operations out from under the lock and using a spinlock. In one user-reported case, a process holding a mutex was preempted for 20 milliseconds, a classic priority inversion[4].
Once the Rust version was good enough, Llamas and Ryhl added new features only to it, and it became faster after an algorithmic change reduced system calls. The removal was merged as a single patch in the 7.4 merge window, while 7.3 is the long-term-support release for 2026 and older stable kernels keep the C Binder with security fixes.
Read the original lwn.netDiscussion
Sources
-
LWN.net
Removing binder.c
-
KRGeekNews KO
binder.c 제거, Android Binder의 C 구현을 Rust로 대체
![[Carlos Llamas]](/media/web/e5/e56d529049080cd4449fa7f0b900bad0e4ce9c1a652af964c7edefac9328b6c2_1200.webp)
![[Alice Ryhl]](/media/web/63/63cad20b8efc1f382d09e768065db1c491edfd942abfabca807ed77d10188446_1200.webp)



