arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2012.15342cs.SE
收藏

ConfigFix:Linux内核的交互式配置冲突解决方案

ConfigFix: Interactive Configuration Conflict Resolution for the Linux Kernel

Patrick Franz, Thorsten Berger, Ibrahim Fayaz, Sarah Nadi, Evgeny Groshev

摘要:

高度可配置的系统是高度复杂的系统,Linux内核可以说是最知名的系统之一。自2007年以来,它一直是研究社区的频繁目标,进行实证研究,并根据其巨大的配置空间构建专用的方法和工具来分析,配置,测试,优化和维护内核。然而,尽管有大量的工作,主要是错误修复,这是这种研究的结果,使它回到内核的源代码树。不幸的是,Linux用户仍然在内核配置和解决配置冲突方面苦苦挣扎,因为内核在很大程度上缺乏自动化支持。此外,在内核中支持自动冲突解决还有技术和社区要求,例如,使用仅使用兼容的第三方库(如果有的话)的纯基于C的解决方案。为了回馈Linux社区,我们提出了CONFIGFIX,这是一个我们与内核配置器集成的工具,完全用C实现,最终是一个能够为配置冲突提供修复的工作解决方案。在这份经验报告中,我们描述了我们十多年来在Linux内核配置机制研究的基础上构建的大量工作的经验,以及我们如何设计和实现CONFIGFIX,同时遵守Linux内核的社区要求和标准。虽然CONFIGFIX帮助Linux内核用户获得他们想要的配置,但我们实现的合理语义抽象为上述许多支持内核配置的技术提供了基础,帮助研究人员和内核开发人员。

英文摘要:

Highly configurable systems are highly complex systems, with the Linux kernel arguably being one of the most well-known ones. Since 2007, it has been a frequent target of the research community, conducting empirical studies and building dedicated methods and tools for analyzing, configuring, testing, optimizing, and maintaining the kernel in the light of its vast configuration space. However, despite a large body of work, mainly bug fixes that were the result of such research made it back into the kernel's source tree. Unfortunately, Linux users still struggle with kernel configuration and resolving configuration conflicts, since the kernel largely lacks automated support. Additionally, there are technical and community requirements for supporting automated conflict resolution in the kernel, such as, for example, using a pure C-based solution that uses only compatible third-party libraries (if any). With the aim of contributing back to the Linux community, we present CONFIGFIX, a tooling that we integrated with the kernel configurator, that is purely implemented in C, and that is finally a working solution able to produce fixes for configuration conflicts. In this experience report, we describe our experiences ranging over a decade of building upon the large body of work from research on the Linux kernel configuration mechanisms as well as how we designed and realized CONFIGFIX while adhering to the Linux kernel's community requirements and standards. While CONFIGFIX helps Linux kernel users obtaining their desired configuration, the sound semantic abstraction we implement provides the basis for many of the above techniques supporting kernel configuration, helping researchers and kernel developers.

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

↑