社区讨论LinuxDo 最新
Google's "Painful To Maintain" Binder C Linux Driver Being Removed In Favor...
phoronix.com Google's "Painful To Maintain" Binder C Linux Driver Being Removed In Favor... Google's Binder driver written in the C programming language has long been part of the mainline kernel as the inter-process communication (IPC) mechanism used on Andro…
内容摘要
作者:# 🐟
板块:#前沿快讯
phoronix.com
Google's "Painful To Maintain" Binder C Linux Driver Being Removed In Favor...
Google's Binder driver written in the C programming language has long been part of the mainline kernel as the inter-process communication (IPC) mechanism used on Android
谷歌的 Binder 驱动程序是用 C 语言编写的,长期以来一直是 Android 系统内核的主线组件,用于进程间通信 (IPC)。过去几年,Binder 驱动程序被用 Rust 语言重写,成为首批真正意义上的 Rust 驱动程序之一。Rust 版 Binder 驱动程序已在 Linux 6.18 内核版本中合并到主线内核,而即将发布的 Linux 7.4 内核版本将弃用旧的基于 C 语言的 Binder 驱动程序。
现在,Rust Binder 驱动程序已经足够成熟,并且证明了其易于维护和扩展新功能的优势,因此旧的 Binder C 代码将被移除。Rust Binder 驱动程序也已证明,其性能可以与原始 Binder 驱动程序相媲美,甚至更快。
旧版 Binder 驱动程序即将告别。Greg Kroah-Hartman 已将此移除补丁合并到 char-misc-next Git 分支。他已将其添加到 char/misc 代码的“-next”分支,预计将在 Linux 7.4 合并窗口期提交。
资讯来源
LinuxDo