JMake: Dependable Compilation for Kernel Janitors

Julia Lawall 1 Gilles Muller 1
1 Whisper - Well Honed Infrastructure Software for Programming Environments and Runtimes
LIP6 - Laboratoire d'Informatique de Paris 6, Inria Paris-Rocquencourt
Abstract : The Linux kernel is highly configurable, and thus, in principle, any line of code can be included or excluded from the compiled kernel based on configuration operations. Configurability complicates the task of a kernel janitor, who cleans up faults across the code base. A janitor may not be familiar with the configuration options that trigger compilation of a particular code line, leading him to believe that a fix has been compile-checked when this is not the case. We propose JMake, a mutation-based tool for signaling changed lines that are not subjected to the compiler. JMake shows that for most of the 12,000 file-modifying commits between Linux v4.3 and v4.4 the configuration chosen by the kernel allyesconfig option is sufficient, once the janitor chooses the correct architecture. For most commits, this check requires only 30 seconds or less. We then characterize the situations in which changed code is not subjected to compilation in practice.
Complete list of metadatas

Cited literature [17 references]  Display  Hide  Download

https://hal.inria.fr/hal-01555711
Contributor : Julia Lawall <>
Submitted on : Tuesday, July 4, 2017 - 12:40:21 PM
Last modification on : Thursday, March 21, 2019 - 1:19:43 PM
Long-term archiving on: Thursday, December 14, 2017 - 11:09:03 PM

File

jmake.pdf
Files produced by the author(s)

Identifiers

Citation

Julia Lawall, Gilles Muller. JMake: Dependable Compilation for Kernel Janitors. The 47th IEEE/IFIP International Conference on Dependable Systems and Networks, IEEE/IFIP, Jun 2017, Denver,Colorado, United States. ⟨10.1109/DSN.2017.62⟩. ⟨hal-01555711⟩

Share

Metrics

Record views

505

Files downloads

207