首页> 外文期刊>Operating systems review >Understanding Collateral Evolution in Linux Device Drivers
【24h】

Understanding Collateral Evolution in Linux Device Drivers

机译:了解Linux设备驱动程序中的附带演变

获取原文
获取原文并翻译 | 示例
           

摘要

In a modern operating system (OS), device drivers can make up over 70% of the source code. Driver code is also heavily dependent on the rest of the OS, for functions and data structures defined in the kernel and driver support libraries. These properties pose a significant problem for OS evolution, as any changes in the interfaces exported by the kernel and driver support libraries can trigger a large number of adjustments in dependent drivers. These adjustments, which we refer to as collateral evolutions, may be complex, entailing substantial code reorganizations. As to our knowledge there exist no tools to help in this process, collateral evolution is thus time consuming and error prone. In this paper, we present a qualitative and quantitative assessment of collateral evolution in Linux device driver code. We provide a taxonomy of evolutions and collateral evolutions, and use an automated patch-analysis tool that we have developed to measure the number of evolutions and collateral evolutions that affect device drivers between Linux versions 2.2 and 2.6. In particular, we find that from one version of Linux to the next, collateral evolutions can account for up to 35% of the lines modified in such code.
机译:在现代操作系统(OS)中,设备驱动程序可以构成源代码的70%以上。对于内核和驱动程序支持库中定义的功能和数据结构,驱动程序代码也严重依赖于操作系统的其余部分。这些属性对OS的发展提出了重大问题,因为内核和驱动程序支持库导出的接口中的任何更改都可能触发从属驱动程序的大量调整。这些调整,我们称为抵押物演变,可能很复杂,需要进行大量的代码重组。据我们所知,没有任何工具可以帮助这一过程,因此抵押品的演变既耗时又容易出错。在本文中,我们提出了对Linux设备驱动程序代码中附带进化的定性和定量评估。我们提供了进化和附带进化的分类法,并使用了我们开发的自动化补丁分析工具来测量影响Linux 2.2和2.6版本之间设备驱动程序的进化和附带进化的数量。特别是,我们发现从一个版本的Linux到下一个版本,附带的进化最多可占此类代码中修改的行的35%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号