Removing binder.c
LWN reports on the Android Binder driver’s long transition from C to Rust, including the compatibility and latency issues encountered along the way.
A mutex in the Rust implementation produced priority inversion and 20 ms tail-latency spikes; moving work outside the lock enabled a spinlock, matching the older implementation’s behavior. Existing tracepoints and vendor hooks also created compatibility constraints. The C driver was removed in the Linux 7.4 merge window, while older stable kernels retain it; this report dates from October 30.