arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1407.4346cs.SEcs.OS
收藏

Linux 2.6中的错误

Faults in Linux 2.6

Nicolas Palix, Gaël Thomas, Suman Saha, Christophe Calvès, Gilles Muller, Julia L. Lawall

摘要:

2011年8月,Linux进入了第三个十年。十年前,Chou等人发表了一项研究,研究了在Linux 1.0到2.4.1版本中应用静态分析器所发现的错误。他们工作的一个主要结果是,驱动程序目录包含的某些类型的故障比其他目录多7倍。这一结果激发了许多提高驱动程序代码可靠性的努力。今天,Linux被用于更广泛的环境,提供更广泛的服务,并采用了新的开发和发布模式。这些变化对代码质量有什么影响?为了回答这个问题,我们把Chou等人。Linux 2.6的所有版本的实验;发布于2003年至2011年之间。我们发现,在此期间,Linux的大小增加了一倍多,但每行代码的错误数量一直在减少。此外,驱动程序的故障率现在低于其他目录,如arch。这些结果可以指导未来十年的进一步开发和研究工作。为了允许随着Linux的发展更新这些结果,我们定义了我们的实验协议,并提供了我们的检查器。

英文摘要:

In August 2011, Linux entered its third decade. Ten years before, Chou et al. published a study of faults found by applying a static analyzer to Linux versions 1.0 through 2.4.1. A major result of their work was that the drivers directory contained up to 7 times more of certain kinds of faults than other directories. This result inspired numerous efforts on improving the reliability of driver code. Today, Linux is used in a wider range of environments, provides a wider range of services, and has adopted a new development and release model. What has been the impact of these changes on code quality? To answer this question, we have transported Chou et al.'s experiments to all versions of Linux 2.6; released between 2003 and 2011. We find that Linux has more than doubled in size during this period, but the number of faults per line of code has been decreasing. Moreover, the fault rate of drivers is now below that of other directories, such as arch. These results can guide further development and research efforts for the decade to come. To allow updating these results as Linux evolves, we define our experimental protocol and make our checkers available.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑